This commit is contained in:
Sridhar Ratnakumar 2026-03-27 21:00:08 -04:00
parent ae132df43d
commit 35ac61cfdc
4 changed files with 15 additions and 8 deletions

View file

@ -7,6 +7,7 @@ in
imports = [
self.homeModules.default
self.homeModules.darwin-only
(self + /modules/home/nix/gc.nix)
];
home.username = "srid";

View file

@ -30,17 +30,15 @@ in
# Remote builders
"${homeMod}/nix/buildMachines"
"${homeMod}/nix/buildMachines/sincereintent.nix"
"${homeMod}/nix/gc.nix"
];
nix.settings = {
sandbox = "relaxed";
extra-experimental-features = [ "impure-derivations" "ca-derivations" ];
};
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
# GC is handled via home-manager (modules/home/nix/gc.nix)
zramSwap.enable = true;
swapDevices = [{