feat(nix): add nix-super

This commit is contained in:
Moritz Böhme 2023-05-29 12:48:43 +02:00
parent 1366bf3e08
commit f76a8dc53f
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
4 changed files with 99 additions and 53 deletions

View file

@ -2,6 +2,7 @@
, lib
, inputs
, self
, pkgs
, ...
}:
@ -23,7 +24,7 @@ in
};
config.nix = {
extraOptions = "experimental-features = nix-command flakes";
package = pkgs.nix-super;
gc = {
automatic = cfg.gc.enable;
@ -46,6 +47,7 @@ in
nixpkgs.flake = inputs.nixpkgs;
stable.flake = inputs.stable;
dotfiles.flake = self;
default.flake = self;
};
settings = {