home-manager: programs.valw.noctalia.enable; README and checklist

This commit is contained in:
elwrcl committed 2026-10-04 06:15:11 +03:00
1 parent 127d44040e
commit 9fa71fd399
4 files changed
+64 -13

No files matched your search

+9
View File
@@ -45,6 +45,12 @@
valw at build time. Empty means valw's defaults.
'';
};
noctalia.enable = lib.mkEnableOption ''
valw's Noctalia plugin (a bar button, the toolbar as a Noctalia
panel and a control-center tile), linked into
`$XDG_DATA_HOME/noctalia/plugins/valw`. Enable `elars/valw` and
place its widget in Noctalia's own settings
'';
};
config = lib.mkIf cfg.enable {
@@ -52,6 +58,9 @@
xdg.configFile."valw/config.toml" = lib.mkIf (cfg.settings != { }) {
source = checked cfg.settings;
};
xdg.dataFile."noctalia/plugins/valw" = lib.mkIf cfg.noctalia.enable {
source = "${cfg.package}/share/valw/noctalia-plugin";
};
};
};
}