add nix experimental-features for flakes

pull/49/head
Alexander Tomokhov 2023-11-09 17:35:24 +04:00
parent f8befb0e3d
commit 5685a9e128
2 changed files with 5 additions and 1 deletions

3
.gitignore vendored
View File

@ -1,4 +1,5 @@
userdata/userdata.json
userdata/tokens.json
hardware-configuration.nix
networking.nix
networking.nix
/result

View File

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