modularise config
This commit is contained in:
parent
ae44502f36
commit
79bba316c2
28 changed files with 407 additions and 432 deletions
10
common/nix.nix
Normal file
10
common/nix.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
nix.autoOptimiseStore = true;
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 30d";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue