Compare commits

..

2 Commits

Author SHA1 Message Date
Moritz Böhme e3b7c63f20 feat(nix): add registry entry to self 2023-05-12 15:14:08 +02:00
Moritz Böhme f875fb90c5 fix(nix): nix command not set 2023-05-12 15:13:52 +02:00
2 changed files with 5 additions and 1 deletions

View File

@ -142,7 +142,7 @@
lib.nixosSystem {
inherit pkgs system lib;
specialArgs = {
inherit inputs;
inherit inputs self;
};
modules = defaultModules ++ [ path ];
})

View File

@ -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 = {