mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
misc small changes
This commit is contained in:
parent
e6b2482344
commit
67ea731529
6 changed files with 9 additions and 3 deletions
|
|
@ -8,7 +8,7 @@ inputs: {
|
|||
#
|
||||
let
|
||||
alias = inputs // {nixpkgs = inputs.unstable;};
|
||||
flakes = lib.filterAttrs (_: v: v._type == "flake") alias;
|
||||
flakes = lib.filterAttrs (_: lib.isType "flake") alias;
|
||||
in {
|
||||
nix.nixPath = lib.mapAttrsToList (x: _: "${x}=flake:${x}") flakes;
|
||||
nix.registry = lib.mapAttrs (_: flake: {inherit flake;}) flakes;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue