mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 19:47:47 +00:00
Pin all flakes to the registy
This commit is contained in:
parent
9548632310
commit
0b0f4c661c
2 changed files with 30 additions and 26 deletions
|
@ -1,4 +1,4 @@
|
|||
{ inputs, ulib, upkgs, ... }: with ulib;
|
||||
{ inputsRaw, inputs, lib, ulib, upkgs, ... }: with ulib;
|
||||
|
||||
systemConfiguration {
|
||||
nix = {
|
||||
|
@ -15,10 +15,12 @@ systemConfiguration {
|
|||
|
||||
package = upkgs.nixSuper;
|
||||
|
||||
registry = {
|
||||
nixpkgs.flake = inputs.nixpkgs;
|
||||
default.flake = inputs.nixpkgs;
|
||||
};
|
||||
registry = (lib.filterAttrs
|
||||
(name: value: value != {})
|
||||
(builtins.mapAttrs
|
||||
(name: value: lib.mkIf value.flake or true {
|
||||
flake = inputs.${name};
|
||||
}) inputsRaw)) // { default.flake = inputs.nixpkgs; };
|
||||
|
||||
settings.experimental-features = [
|
||||
"fetch-tree"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue