flakes: remove extra config

This commit is contained in:
Sean Buckley 2021-03-31 23:43:23 -04:00
parent bdb178ab7c
commit 80de43e87e

View file

@ -6,12 +6,9 @@ in
options.sconfig.flakes = lib.mkEnableOption "Enable Flakes"; options.sconfig.flakes = lib.mkEnableOption "Enable Flakes";
config = lib.mkIf cfg { config = lib.mkIf cfg {
environment.systemPackages = [ pkgs.nixFlakes ]; nix.package = pkgs.nixFlakes;
nix = { nix.extraOptions = ''
package = pkgs.nixFlakes;
extraOptions = ''
experimental-features = nix-command flakes experimental-features = nix-command flakes
''; '';
}; };
};
} }