Compare commits
2 commits
a2055ecc9c
...
e3b7c63f20
Author | SHA1 | Date | |
---|---|---|---|
e3b7c63f20 | |||
f875fb90c5 |
2 changed files with 5 additions and 1 deletions
|
@ -142,7 +142,7 @@
|
|||
lib.nixosSystem {
|
||||
inherit pkgs system lib;
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
inherit inputs self;
|
||||
};
|
||||
modules = defaultModules ++ [ path ];
|
||||
})
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{ config
|
||||
, lib
|
||||
, inputs
|
||||
, self
|
||||
, ...
|
||||
}:
|
||||
|
||||
|
@ -22,6 +23,8 @@ in
|
|||
};
|
||||
|
||||
config.nix = {
|
||||
extraOptions = "experimental-features = nix-command flakes";
|
||||
|
||||
gc = {
|
||||
automatic = cfg.gc.enable;
|
||||
options = "--max-freed ${cfg.gc.minimumFreedGB} --delete-older-than 14d";
|
||||
|
@ -42,6 +45,7 @@ in
|
|||
master.flake = inputs.master;
|
||||
nixpkgs.flake = inputs.nixpkgs;
|
||||
stable.flake = inputs.stable;
|
||||
dotfiles.flake = self;
|
||||
};
|
||||
|
||||
settings = {
|
||||
|
|
Loading…
Reference in a new issue