Enable flakes on nanopi
Alan Pearce alan@alanpearce.eu
Mon, 22 May 2023 19:17:37 +0200
1 files changed, 4 insertions(+), 1 deletions(-)
jump to
M user/nanopi.nix → user/nanopi.nix
@@ -1,4 +1,4 @@-{ ... }: +{ pkgs, ... }: { imports = [ ./settings/base.nix @@ -14,7 +14,10 @@ username = "alan"; homeDirectory = "/home/alan"; stateVersion = "22.11"; }; + # home-manager complains when setting nix.conf otherwise + nix.package = pkgs.nix; nix.settings = { max-jobs = 4; + experimental-features = "nix-command flakes"; }; }