diff options
author | Alan Pearce | 2023-05-22 19:17:37 +0200 |
---|---|---|
committer | Alan Pearce | 2023-05-22 19:22:45 +0200 |
commit | 0d7cd92442a59c2e3ca0bde0e3672ad2edd7d30c (patch) | |
tree | 9bd16ed423658eadae8beb58e7281dc04a2c14a7 | |
parent | 0b5545aec273e35baee25ee91949a0247e873801 (diff) | |
download | nixfiles-0d7cd92442a59c2e3ca0bde0e3672ad2edd7d30c.tar.lz nixfiles-0d7cd92442a59c2e3ca0bde0e3672ad2edd7d30c.tar.zst nixfiles-0d7cd92442a59c2e3ca0bde0e3672ad2edd7d30c.zip |
Enable flakes on nanopi
-rw-r--r-- | user/nanopi.nix | 5 |
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"; }; } |