all repos — nixfiles @ 0d7cd92442a59c2e3ca0bde0e3672ad2edd7d30c

System and user configuration, managed by nix and home-manager

Enable flakes on nanopi
Alan Pearce alan@alanpearce.eu
Mon, 22 May 2023 19:17:37 +0200
commit

0d7cd92442a59c2e3ca0bde0e3672ad2edd7d30c

parent

0b5545aec273e35baee25ee91949a0247e873801

1 files changed, 4 insertions(+), 1 deletions(-)

jump to
M user/nanopi.nixuser/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";
   };
 }