From 12da955842c1397e05615a05c98c54eb9f8fa86a Mon Sep 17 00:00:00 2001 From: stuebinm Date: Sat, 19 Nov 2022 15:23:03 +0100 Subject: [PATCH] nix: enable 'experimental feature' flakes by default --- common/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/default.nix b/common/default.nix index b4f652c..035ad47 100644 --- a/common/default.nix +++ b/common/default.nix @@ -19,6 +19,9 @@ nix.gc.automatic = lib.mkDefault true; nix.gc.options = lib.mkDefault "--delete-older-than 1w"; nix.trustedUsers = [ "root" "@wheel" ]; + nix.extraOptions = '' + experimental-features = nix-command flakes + ''; environment.variables.EDITOR = "vim"; services.openssh = {