feat: cache devShells by default
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-06-15 22:51:36 -04:00
parent 42d8107399
commit b94a738734
2 changed files with 9 additions and 1 deletions

View file

@ -7,6 +7,7 @@
nix-melt, nix-melt,
nurl, nurl,
pkgs, pkgs,
self,
... ...
} @ inputs: { } @ inputs: {
imports = [ imports = [
@ -75,6 +76,8 @@
}; };
home-manager = let home-manager = let
inherit (lib) mapAttrs' nameValuePair;
inherit (config.vars) mainUser; inherit (config.vars) mainUser;
mainUserConf = config.home-manager.users.${mainUser}; mainUserConf = config.home-manager.users.${mainUser};
@ -99,6 +102,11 @@
./home/trash-d ./home/trash-d
]; ];
# Cache devShells
home.file = mapAttrs' (n: v: nameValuePair ".cache/devShells/${n}" {
source = v;
}) self.devShells.${pkgs.system};
home.packages = [ home.packages = [
nix-melt.packages.${pkgs.system}.default nix-melt.packages.${pkgs.system}.default

View file

@ -30,7 +30,7 @@ in {
kb_layout = xkb.layout; kb_layout = xkb.layout;
kb_variant = xkb.variant; kb_variant = xkb.variant;
numlock_by_default = true; numlock_by_default = true;
repeat_rate = 50; repeat_rate = 25;
# Mouse # Mouse
follow_mouse = true; follow_mouse = true;