nix: enable 'experimental feature' flakes by default

This commit is contained in:
stuebinm 2022-11-19 15:23:03 +01:00
parent 0127b30566
commit 12da955842

View file

@ -19,6 +19,9 @@
nix.gc.automatic = lib.mkDefault true; nix.gc.automatic = lib.mkDefault true;
nix.gc.options = lib.mkDefault "--delete-older-than 1w"; nix.gc.options = lib.mkDefault "--delete-older-than 1w";
nix.trustedUsers = [ "root" "@wheel" ]; nix.trustedUsers = [ "root" "@wheel" ];
nix.extraOptions = ''
experimental-features = nix-command flakes
'';
environment.variables.EDITOR = "vim"; environment.variables.EDITOR = "vim";
services.openssh = { services.openssh = {