1769288238

This commit is contained in:
2026-01-24 22:57:18 +02:00
parent fa32ae5510
commit 84020b1572
94 changed files with 1428 additions and 1024 deletions
+28
View File
@@ -0,0 +1,28 @@
{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.programs.wl-kbptr;
iniFormat = pkgs.formats.ini {listsAsDuplicateKeys = true;};
in {
options = {
programs.wl-kbptr = {
enable = mkEnableOption "enable niri desktop";
settings = mkOption {
inherit (iniFormat) type;
default = {};
};
};
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
wl-kbptr
];
xdg.configFile."wl-kbptr/config" = mkIf (cfg.settings != {}) {
source = iniFormat.generate "wl-kbptr-config" cfg.settings;
};
};
}