mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
flakes: remove extra config
This commit is contained in:
parent
bdb178ab7c
commit
80de43e87e
1 changed files with 4 additions and 7 deletions
|
@ -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
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue