Merge branch 'overhaul' of ssh://solis:34916/Koen/nix-config into overhaul

This commit is contained in:
KoenDR06 2025-11-25 21:52:06 +01:00
commit 27c4701d7f
5 changed files with 32 additions and 1 deletions

View file

@ -62,5 +62,6 @@ in {
# Docker
virtualisation.docker.enable = true;
users.users.${username}.extraGroups = ["docker"];
};
}

View file

@ -5,5 +5,6 @@
./gpu/nvidia.nix
./wifi.nix
./fingerprint.nix
./keyd.nix
];
}

29
modules/hardware/keyd.nix Normal file
View file

@ -0,0 +1,29 @@
{
lib,
config,
...
}: let
inherit (lib) mkEnableOption mkIf;
cfg = config.horseman.hardware.keyd;
in {
options = {
horseman.hardware.keyd = {
enable = mkEnableOption "Kanata, the key remapper";
};
};
config = mkIf cfg.enable {
services.keyd = {
enable = true;
keyboards.main = {
ids = ["*"];
settings = {
main = {
capslock = "overload(control, esc)";
};
};
};
};
};
}

View file

@ -53,7 +53,6 @@ in {
];
extraGroups = [
"wheel"
"docker"
];
};
};

View file

@ -44,6 +44,7 @@ in {
];
horseman.apps.visual.safeeyes.enable = true;
horseman.hardware.keyd.enable = true;
horseman.wm.hyprland.config = {
execOnce = [