This commit is contained in:
2024-10-25 15:39:25 -04:00
parent 4ec6a035a5
commit 2682094d57
4 changed files with 26 additions and 19 deletions

View File

@@ -28,25 +28,26 @@
};
nix = {
#garbage collection and cleanup stuff
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
#optimize the store
# optimize the store
optimise.automatic = true;
#enable flakes!
# enable flakes!
settings.experimental-features = [
"nix-command"
"flakes"
];
};
# https://github.com/viperML/nh
programs.nh = {
enable = true;
clean.enable = true;
clean.extraArgs = "--keep-since 4d --keep 3";
};
boot = {
kernelPackages = pkgs.linuxPackages_6_10;
# kernelPackages = pkgs.linuxPackages_6_10;
kernelPackages = pkgs.linuxPackages;
supportedFilesystems = [ "zfs" ];
zfs.extraPools = [ "tank" ];