mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
Make more use of pipes
This commit is contained in:
parent
cd3765efea
commit
14b0e0ac1d
4 changed files with 9 additions and 7 deletions
|
|
@ -11,12 +11,12 @@
|
|||
|
||||
nix =
|
||||
let
|
||||
flakeInputs = lib.filterAttrs (_: lib.isType "flake") inputs;
|
||||
flakeInputs = inputs |> lib.filterAttrs (_: lib.isType "flake");
|
||||
in
|
||||
{
|
||||
channel.enable = false;
|
||||
registry = lib.mapAttrs (_: flake: { inherit flake; }) flakeInputs;
|
||||
nixPath = lib.mapAttrsToList (n: _: "${n}=flake:${n}") flakeInputs;
|
||||
registry = flakeInputs |> lib.mapAttrs (_: flake: { inherit flake; });
|
||||
nixPath = flakeInputs |> lib.mapAttrsToList (name: _: "${name}=flake:${name}");
|
||||
|
||||
settings = {
|
||||
flake-registry = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue