system: use exist option...

experimentalOptions instead of extraConfig
This commit is contained in:
Dmitriy Pleshevskiy 2022-08-29 11:28:47 +03:00
parent ebec7174a4
commit fb529fb71f
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215

View file

@ -124,13 +124,11 @@ in
# Flakes settings # Flakes settings
package = pkgs.nixFlakes; package = pkgs.nixFlakes;
extraOptions = ''
experimental-features = nix-command flakes
'';
settings = { settings = {
auto-optimise-store = true; auto-optimise-store = true;
experimental-features = [ "nix-command" "flakes" ];
trusted-users = [ "root" "janabhumi" ]; trusted-users = [ "root" "janabhumi" ];
}; };
}; };