Merge branch 'overhaul' of ssh://solis:34916/Koen/nix-config into overhaul
This commit is contained in:
commit
27c4701d7f
5 changed files with 32 additions and 1 deletions
|
|
@ -62,5 +62,6 @@ in {
|
|||
|
||||
# Docker
|
||||
virtualisation.docker.enable = true;
|
||||
users.users.${username}.extraGroups = ["docker"];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,5 +5,6 @@
|
|||
./gpu/nvidia.nix
|
||||
./wifi.nix
|
||||
./fingerprint.nix
|
||||
./keyd.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
29
modules/hardware/keyd.nix
Normal file
29
modules/hardware/keyd.nix
Normal 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)";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -53,7 +53,6 @@ in {
|
|||
];
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"docker"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ in {
|
|||
];
|
||||
|
||||
horseman.apps.visual.safeeyes.enable = true;
|
||||
horseman.hardware.keyd.enable = true;
|
||||
|
||||
horseman.wm.hyprland.config = {
|
||||
execOnce = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue