✨ (hydrogen/system) add nix settings
This commit is contained in:
parent
7c64621be1
commit
9d86db55a4
11
hosts/hydrogen/system/nix/default.nix
Normal file
11
hosts/hydrogen/system/nix/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ ... }: {
|
||||
# optimizations
|
||||
nix.settings.auto-optimise-store = true;
|
||||
|
||||
# garbage collection
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 30d";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue