diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2023-03-21 13:33:09 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2023-03-21 13:33:09 +0100 |
commit | 2b14d6d4f414b5692fa29685934096536e0a7e19 (patch) | |
tree | 42c77c77dd69c0254483054215128f8c94b3abbb | |
parent | ffd7c4837f36bbfa81b1534a0bdd6a0e0194f3b5 (diff) | |
download | nixos-2b14d6d4f414b5692fa29685934096536e0a7e19.tar nixos-2b14d6d4f414b5692fa29685934096536e0a7e19.tar.gz nixos-2b14d6d4f414b5692fa29685934096536e0a7e19.tar.bz2 nixos-2b14d6d4f414b5692fa29685934096536e0a7e19.tar.xz nixos-2b14d6d4f414b5692fa29685934096536e0a7e19.zip |
flake-registry
-rw-r--r-- | flake.lock | 17 | ||||
-rw-r--r-- | flake.nix | 6 | ||||
-rw-r--r-- | system-profiles/core.nix | 2 |
3 files changed, 25 insertions, 0 deletions
@@ -129,6 +129,22 @@ | |||
129 | "type": "github" | 129 | "type": "github" |
130 | } | 130 | } |
131 | }, | 131 | }, |
132 | "flake-registry": { | ||
133 | "flake": false, | ||
134 | "locked": { | ||
135 | "lastModified": 1674218164, | ||
136 | "narHash": "sha256-oLNWhwrV252kiy2tGQwwJNKFR+iG0fjsw0GSE/XVTR8=", | ||
137 | "owner": "NixOS", | ||
138 | "repo": "flake-registry", | ||
139 | "rev": "507c028d8d189b6647592dfd10ee677578de45a1", | ||
140 | "type": "github" | ||
141 | }, | ||
142 | "original": { | ||
143 | "owner": "NixOS", | ||
144 | "repo": "flake-registry", | ||
145 | "type": "github" | ||
146 | } | ||
147 | }, | ||
132 | "flake-utils": { | 148 | "flake-utils": { |
133 | "locked": { | 149 | "locked": { |
134 | "lastModified": 1667395993, | 150 | "lastModified": 1667395993, |
@@ -420,6 +436,7 @@ | |||
420 | "ca-util": "ca-util", | 436 | "ca-util": "ca-util", |
421 | "deploy-rs": "deploy-rs", | 437 | "deploy-rs": "deploy-rs", |
422 | "flake-compat": "flake-compat_2", | 438 | "flake-compat": "flake-compat_2", |
439 | "flake-registry": "flake-registry", | ||
423 | "flake-utils": "flake-utils_2", | 440 | "flake-utils": "flake-utils_2", |
424 | "home-manager": "home-manager", | 441 | "home-manager": "home-manager", |
425 | "mach-nix": "mach-nix", | 442 | "mach-nix": "mach-nix", |
@@ -72,6 +72,12 @@ | |||
72 | repo = "flake-utils"; | 72 | repo = "flake-utils"; |
73 | ref = "main"; | 73 | ref = "main"; |
74 | }; | 74 | }; |
75 | flake-registry = { | ||
76 | type = "github"; | ||
77 | owner = "NixOS"; | ||
78 | repo = "flake-registry"; | ||
79 | flake = false; | ||
80 | }; | ||
75 | nix-index-database = { | 81 | nix-index-database = { |
76 | type = "github"; | 82 | type = "github"; |
77 | owner = "Mic92"; | 83 | owner = "Mic92"; |
diff --git a/system-profiles/core.nix b/system-profiles/core.nix index 40bd20c6..f6d5a21e 100644 --- a/system-profiles/core.nix +++ b/system-profiles/core.nix | |||
@@ -47,6 +47,8 @@ in { | |||
47 | sandbox = true; | 47 | sandbox = true; |
48 | allowed-users = [ "*" ]; | 48 | allowed-users = [ "*" ]; |
49 | trusted-users = [ "root" "@wheel" ]; | 49 | trusted-users = [ "root" "@wheel" ]; |
50 | |||
51 | flake-registry = "${flakeInputs.flake-registry}/flake-registry.json"; | ||
50 | }; | 52 | }; |
51 | extraOptions = '' | 53 | extraOptions = '' |
52 | experimental-features = nix-command flakes | 54 | experimental-features = nix-command flakes |