add nix experimental-features for flakes

This commit is contained in:
Alexander Tomokhov 2023-11-09 17:35:24 +04:00
parent f8befb0e3d
commit 5685a9e128
2 changed files with 5 additions and 1 deletions

1
.gitignore vendored
View file

@ -2,3 +2,4 @@ userdata/userdata.json
userdata/tokens.json userdata/tokens.json
hardware-configuration.nix hardware-configuration.nix
networking.nix networking.nix
/result

View file

@ -95,6 +95,9 @@ in
automatic = true; automatic = true;
options = "--delete-older-than 7d"; options = "--delete-older-than 7d";
}; };
extraOptions = ''
experimental-features = nix-command flakes repl-flake
'';
}; };
services.journald.extraConfig = "SystemMaxUse=500M"; services.journald.extraConfig = "SystemMaxUse=500M";
boot.kernel.sysctl = { boot.kernel.sysctl = {