summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-12-13 10:18:53 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2021-12-13 10:18:53 +0100
commit6029b8e558cc7478d55d53df8d13303ee96ce0ee (patch)
treecbade2eede101f8eb7ec15316d4da6e0c93e4400
parent7e358a11070760a8a8d371e804277f3c25c65646 (diff)
downloadnixos-6029b8e558cc7478d55d53df8d13303ee96ce0ee.tar
nixos-6029b8e558cc7478d55d53df8d13303ee96ce0ee.tar.gz
nixos-6029b8e558cc7478d55d53df8d13303ee96ce0ee.tar.bz2
nixos-6029b8e558cc7478d55d53df8d13303ee96ce0ee.tar.xz
nixos-6029b8e558cc7478d55d53df8d13303ee96ce0ee.zip
...
-rw-r--r--shell.nix2
-rw-r--r--system-profiles/core.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/shell.nix b/shell.nix
index e0574ac4..ad10de87 100644
--- a/shell.nix
+++ b/shell.nix
@@ -5,7 +5,7 @@ let
5 paths = [ pkgs.nixFlakes ]; 5 paths = [ pkgs.nixFlakes ];
6 buildInputs = [ pkgs.makeWrapper ]; 6 buildInputs = [ pkgs.makeWrapper ];
7 postBuild = '' 7 postBuild = ''
8 wrapProgram $out/bin/nix --add-flags '--option experimental-features "nix-command flakes ca-references"' 8 wrapProgram $out/bin/nix --add-flags '--option experimental-features "nix-command flakes"'
9 ''; 9 '';
10 }; 10 };
11in pkgs.mkShell { 11in pkgs.mkShell {
diff --git a/system-profiles/core.nix b/system-profiles/core.nix
index 61cda096..c243f857 100644
--- a/system-profiles/core.nix
+++ b/system-profiles/core.nix
@@ -47,7 +47,7 @@ in {
47 allowedUsers = [ "*" ]; 47 allowedUsers = [ "*" ];
48 trustedUsers = [ "root" "@wheel" ]; 48 trustedUsers = [ "root" "@wheel" ];
49 extraOptions = '' 49 extraOptions = ''
50 experimental-features = nix-command flakes ca-references 50 experimental-features = nix-command flakes
51 ''; 51 '';
52 nixPath = [ 52 nixPath = [
53 "nixpkgs=${flakeInputs.nixpkgs.legacyPackages.${config.nixpkgs.system}.path}" 53 "nixpkgs=${flakeInputs.nixpkgs.legacyPackages.${config.nixpkgs.system}.path}"