summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2023-05-22 19:17:37 +0200
committerAlan Pearce2023-05-22 19:22:45 +0200
commit0d7cd92442a59c2e3ca0bde0e3672ad2edd7d30c (patch)
tree9bd16ed423658eadae8beb58e7281dc04a2c14a7 /user
parent0b5545aec273e35baee25ee91949a0247e873801 (diff)
downloadnixfiles-0d7cd92442a59c2e3ca0bde0e3672ad2edd7d30c.tar.lz
nixfiles-0d7cd92442a59c2e3ca0bde0e3672ad2edd7d30c.tar.zst
nixfiles-0d7cd92442a59c2e3ca0bde0e3672ad2edd7d30c.zip
Enable flakes on nanopi
Diffstat (limited to 'user')
-rw-r--r--user/nanopi.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/user/nanopi.nix b/user/nanopi.nix
index c4c8402d..e3ce2d74 100644
--- a/user/nanopi.nix
+++ b/user/nanopi.nix
@@ -1,4 +1,4 @@
-{ ... }:
+{ pkgs, ... }:
 {
   imports = [
     ./settings/base.nix
@@ -14,7 +14,10 @@
     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";
   };
 }