From b21d20edb07a81cf9b4003d9f5edbfc6a4e1e73e Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 16 Aug 2021 16:39:11 +0800 Subject: [PATCH] nixops: enable nix flakes on desktop machines --- nixops/desktop.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nixops/desktop.nix b/nixops/desktop.nix index 875343c..b894860 100644 --- a/nixops/desktop.nix +++ b/nixops/desktop.nix @@ -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