update legacy options

This commit is contained in:
oxapentane - 2022-12-31 16:28:38 +01:00
parent 3ff0088556
commit e40dc8488c
Signed by: oxapentane
GPG Key ID: 91FA5E5BF9AA901C
4 changed files with 7 additions and 5 deletions

View File

@ -12,7 +12,7 @@
documentation.nixos.enable = false;
nix = {
buildCores = 1;
settings.build-cores = 1;
gc = {
automatic = true;
dates = "daily";

View File

@ -15,7 +15,7 @@
documentation.nixos.enable = false;
nix = {
buildCores = 1;
settings.build-cores = 1;
gc = {
automatic = true;
dates = "daily";

View File

@ -22,9 +22,11 @@ in
nix = {
package = pkgs.nixFlakes;
extraOptions = ''
experimental-features = nix-command flakes
'';
autoOptimiseStore = true;
settings = {
auto-optimise-store = true;
experimental-features = "nix-command flakes";
};
};
networking.useNetworkd = true;

View File

@ -12,7 +12,7 @@
documentation.nixos.enable = false;
nix = {
buildCores = 1;
settings.build-cores = 1;
gc = {
automatic = true;
dates = "daily";