all repos — dotfiles @ 144eaaa92349834659078c38f7c61928179b8566

my *nix dotfiles

nix: keyd: use capslock for nav layer
Anirudh Oppiliappan x@icyphox.sh
Sun, 23 Jun 2024 23:04:34 +0300
commit

144eaaa92349834659078c38f7c61928179b8566

parent

a4f3bc64feb06d27d133b857e8a08206059ec6bd

3 files changed, 24 insertions(+), 12 deletions(-)

jump to
M home.nixhome.nix

@@ -23,6 +23,7 @@ home.stateVersion = "23.11";

home.username = "icy"; home.homeDirectory = "/home/icy"; home.extraOutputsToInstall = [ "man" ]; + home.packages = with pkgs; [ git

@@ -50,6 +51,7 @@ go

dconf chromium evolution + nix-your-shell gnome3.gnome-tweaks gnome3.gnome-shell-extensions

@@ -81,5 +83,6 @@ pictures = "\$HOME/pics";

videos = "\$HOME/vids"; }; }; + }
M hosts/wyndle/configuration.nixhosts/wyndle/configuration.nix

@@ -133,7 +133,6 @@ };

}; services = { - pipewire.wireplumber.enable = true; asusd = { enable = true; enableUserService = true;

@@ -143,6 +142,7 @@ enable = true;

}; pipewire = { enable = true; + wireplumber.enable = true; alsa.enable = true; alsa.support32Bit = true; pulse.enable = true;

@@ -167,6 +167,7 @@ scrollMethod = "button";

}; }; }; + ddccontrol.enable = true; tailscale.enable = true; auto-cpufreq.enable = true; # 1. chmod for rootless backligh1t

@@ -191,13 +192,25 @@ '';

keyd = { enable = true; - keyboards.default.settings = { - "meta" = { - h = "left"; - j = "down"; - k = "up"; - l = "right"; - }; + keyboards.default = { + ids = [ "*" ]; + extraConfig = '' + [main] + capslock = overload(capslock, esc) + + [capslock:C] + h = left + j = down + k = up + l = right + + # Activates when both capslock and shift is pressed + [capslock+shift] + h = C-left + j = C-down + k = C-up + l = C-right + ''; }; }; pcscd.enable = true;
M services/default.nixservices/default.nix

@@ -12,9 +12,5 @@ defaultCacheTtl = 60 * 60 * 24 * 7;

maxCacheTtl = 60 * 60 * 24 * 7; pinentryPackage = pkgs.pinentry-gnome3; }; - plan9port = { - fontsrv.enable = true; - plumber.enable = true; - }; }; }