feat: use rustup, add bat, remove keyd

This commit is contained in:
2025-06-11 19:49:44 -07:00
parent e670a449aa
commit 4935f02573
6 changed files with 12 additions and 40 deletions

View File

@@ -46,8 +46,10 @@
gnumake
watchman
bat
cargo
rustc
rustup
emote
pkg-config
openssl
];
programs.nix-ld.enable = lib.mkDefault true;
programs.zsh.enable = lib.mkDefault true;

View File

@@ -12,6 +12,5 @@
./kanata.nix
./pipewire.nix
./keys.nix
./keyd.nix
];
}

View File

@@ -66,6 +66,7 @@
enable = true;
vSync = true;
};
services.copyq.enable = true;
xsession.initExtra = ''
xset s off

View File

@@ -1,31 +0,0 @@
{
pkgs,
lib,
config,
...
}:
{
options.keyd = {
enable = lib.mkEnableOption "enable keyd";
};
config = lib.mkIf config.keyd.enable {
users.extraGroups.keyd = {
name = "keyd";
};
users.users.luca.extraGroups = [ "keyd" ];
environment.systemPackages = with pkgs; [
keyd
];
services.keyd = {
enable = true;
keyboards.main = {
settings = {
main = {
capslock = "esc";
};
};
};
};
};
}