Charlotte 🦝 Delenk
26a1856a8e
All checks were successful
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #23744 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #23742 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
Hydra nixosConfigurations.pc-installer Hydra build #23747 of nixos-config:pr618:nixosConfigurations.pc-installer
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #23743 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra nixosConfigurations.not522 Hydra build #23745 of nixos-config:pr618:nixosConfigurations.not522
Hydra checks.x86_64-linux.containers-default Hydra build #23741 of nixos-config:pr618:checks.x86_64-linux.containers-default
Hydra nixosConfigurations.not522-installer Hydra build #23746 of nixos-config:pr618:nixosConfigurations.not522-installer
23 lines
534 B
Nix
23 lines
534 B
Nix
{
|
|
lib,
|
|
inputs,
|
|
...
|
|
}: let
|
|
# Taken from https://github.com/gytis-ivaskevicius/flake-utils-plus/blob/master/lib/options.nix
|
|
inherit (lib) filterAttrs mapAttrs';
|
|
flakes = filterAttrs (name: value: (value ? outputs)) inputs;
|
|
nixRegistry =
|
|
builtins.mapAttrs
|
|
(name: v: {flake = v;})
|
|
flakes;
|
|
in {
|
|
nix.registry = nixRegistry;
|
|
environment.etc =
|
|
mapAttrs'
|
|
(name: value: {
|
|
name = "nix/inputs/${name}";
|
|
value = {source = value.outPath;};
|
|
})
|
|
flakes;
|
|
nix.nixPath = ["/etc/nix/inputs"];
|
|
}
|