nix: keyd: use capslock for nav layer

Changed files
+24 -12
hosts
services
+3
home.nix
··· 23 23 home.username = "icy"; 24 24 home.homeDirectory = "/home/icy"; 25 25 home.extraOutputsToInstall = [ "man" ]; 26 + 26 27 home.packages = with pkgs; [ 27 28 28 29 git ··· 50 51 dconf 51 52 chromium 52 53 evolution 54 + nix-your-shell 53 55 54 56 gnome3.gnome-tweaks 55 57 gnome3.gnome-shell-extensions ··· 81 83 videos = "\$HOME/vids"; 82 84 }; 83 85 }; 86 + 84 87 } 85 88
+21 -8
hosts/wyndle/configuration.nix
··· 133 133 }; 134 134 135 135 services = { 136 - pipewire.wireplumber.enable = true; 137 136 asusd = { 138 137 enable = true; 139 138 enableUserService = true; ··· 143 142 }; 144 143 pipewire = { 145 144 enable = true; 145 + wireplumber.enable = true; 146 146 alsa.enable = true; 147 147 alsa.support32Bit = true; 148 148 pulse.enable = true; ··· 167 167 }; 168 168 }; 169 169 }; 170 + ddccontrol.enable = true; 170 171 tailscale.enable = true; 171 172 auto-cpufreq.enable = true; 172 173 # 1. chmod for rootless backligh1t ··· 191 192 192 193 keyd = { 193 194 enable = true; 194 - keyboards.default.settings = { 195 - "meta" = { 196 - h = "left"; 197 - j = "down"; 198 - k = "up"; 199 - l = "right"; 200 - }; 195 + keyboards.default = { 196 + ids = [ "*" ]; 197 + extraConfig = '' 198 + [main] 199 + capslock = overload(capslock, esc) 200 + 201 + [capslock:C] 202 + h = left 203 + j = down 204 + k = up 205 + l = right 206 + 207 + # Activates when both capslock and shift is pressed 208 + [capslock+shift] 209 + h = C-left 210 + j = C-down 211 + k = C-up 212 + l = C-right 213 + ''; 201 214 }; 202 215 }; 203 216 pcscd.enable = true;
-4
services/default.nix
··· 12 12 maxCacheTtl = 60 * 60 * 24 * 7; 13 13 pinentryPackage = pkgs.pinentry-gnome3; 14 14 }; 15 - plan9port = { 16 - fontsrv.enable = true; 17 - plumber.enable = true; 18 - }; 19 15 }; 20 16 }