nixops: enable nix flakes on desktop machines

This commit is contained in:
Sebastien Bourdeauducq 2021-08-16 16:39:11 +08:00
parent 48be2c6edc
commit b21d20edb0
1 changed files with 5 additions and 0 deletions

View File

@ -152,6 +152,11 @@ in
nix.binaryCaches = ["https://nixbld.m-labs.hk" "https://cache.nixos.org"];
nix.sandboxPaths = ["/opt"];
nix.package = pkgs.nixUnstable;
nix.extraOptions = ''
experimental-features = nix-command flakes
'';
# This value determines the NixOS release with which your system is to be
# compatible, in order to avoid breaking some software such as database
# servers. You should change this only after NixOS release notes say you