prevent garbage collection for dev environments

This commit is contained in:
Tim Schubert 2022-07-09 13:04:38 +02:00
parent a58ac63547
commit 4d5b3810c7
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA

View file

@ -15,13 +15,13 @@ in
./hardware-configuration.nix
];
nix.package = pkgs.nixUnstable;
nix.extraOptions = ''
experimental-features = nix-command flakes
experimental-features = nix-command flakes
# Prevent garbage collection for nix shell and direnv
keep-outputs = true
keep-derivations = true
'';
#boot.kernelPackages = pkgs.linuxPackages_5_15;
boot.kernelModules = [ "kvm-amd" ];
networking.hostName = "gorgon";