add wshowkeys module and package

This commit is contained in:
ulic-youthlic 2025-05-23 00:08:35 +08:00
parent 2afb64528d
commit 73ff50db30
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
13 changed files with 82 additions and 39 deletions

View file

@ -31,6 +31,7 @@
openssh.enable = true;
kanata.enable = true;
tailscale.enable = true;
wshowkeys.enable = true;
};
};
programs.gnupg.agent = {

View file

@ -52,6 +52,7 @@
juicity.client.enable = true;
owncast.enable = true;
minio.enable = true;
wshowkeys.enable = true;
};
};

View file

@ -28,5 +28,6 @@
./minio.nix
./supergfxd.nix
./radicle.nix
./wshowkeys.nix
];
}

View file

@ -0,0 +1,16 @@
{
config,
lib,
...
}: let
cfg = config.youthlic.programs.wshowkeys;
in {
options = {
youthlic.programs.wshowkeys = {
enable = lib.mkEnableOption "wshowkeys";
};
};
config = lib.mkIf cfg.enable {
programs.wshowkeys.enable = true;
};
}