Merge pull request 'add nix experimental-features for flakes' (#49) from experimental-features into master

Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config/pulls/49
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
This commit is contained in:
Inex Code 2023-11-09 15:43:17 +02:00
commit 2c2bb80006
2 changed files with 5 additions and 1 deletions

3
.gitignore vendored
View file

@ -1,4 +1,5 @@
userdata/userdata.json 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 = {