summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2023-05-22 20:41:27 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2023-05-22 20:41:27 +0200
commitb79e60a4455de11c2ad9c12b027bdc0d67c05923 (patch)
tree478827c7dd799dcfac6f51ca5ca86f09fd5c1950
parent0c42052020bf247d8df25bde941c289870bf337d (diff)
downloadnixos-b79e60a4455de11c2ad9c12b027bdc0d67c05923.tar
nixos-b79e60a4455de11c2ad9c12b027bdc0d67c05923.tar.gz
nixos-b79e60a4455de11c2ad9c12b027bdc0d67c05923.tar.bz2
nixos-b79e60a4455de11c2ad9c12b027bdc0d67c05923.tar.xz
nixos-b79e60a4455de11c2ad9c12b027bdc0d67c05923.zip
...
-rw-r--r--system-profiles/core/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/system-profiles/core/default.nix b/system-profiles/core/default.nix
index 18a97805..fc19388c 100644
--- a/system-profiles/core/default.nix
+++ b/system-profiles/core/default.nix
@@ -48,11 +48,12 @@ in {
48 allowed-users = [ "*" ]; 48 allowed-users = [ "*" ];
49 trusted-users = [ "root" "@wheel" ]; 49 trusted-users = [ "root" "@wheel" ];
50 50
51 experimental-features = ["nix-command" "flakes" "auto-allocate-uids" "cgroups"];
52 auto-allocate-uids = true;
53 use-cgroups = true;
54
51 flake-registry = "${flakeInputs.flake-registry}/flake-registry.json"; 55 flake-registry = "${flakeInputs.flake-registry}/flake-registry.json";
52 }; 56 };
53 extraOptions = ''
54 experimental-features = nix-command flakes
55 '';
56 nixPath = [ 57 nixPath = [
57 "nixpkgs=${pkgs.runCommand "nixpkgs" {} '' 58 "nixpkgs=${pkgs.runCommand "nixpkgs" {} ''
58 mkdir $out 59 mkdir $out