mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 23:11:34 +01:00
refactor: normalize usage of lib and builtins namespaces
This commit is contained in:
parent
043a996319
commit
062fd5de0b
17 changed files with 24 additions and 24 deletions
|
|
@ -14,7 +14,7 @@ let
|
|||
hostFiles =
|
||||
"${self}/hosts/${hostName}"
|
||||
|> lib.filesystem.listFilesRecursive
|
||||
|> builtins.filter (lib.hasSuffix ".nix");
|
||||
|> lib.filter (lib.hasSuffix ".nix");
|
||||
in
|
||||
[
|
||||
{ networking = { inherit hostName; }; }
|
||||
|
|
@ -46,6 +46,6 @@ in
|
|||
|> lib.filterAttrs (_: type: type == "directory")
|
||||
|> lib.mapAttrs (name: _: mkDeployNode name);
|
||||
|
||||
checks = builtins.mapAttrs (_: deployLib: deployLib.deployChecks self.deploy) inputs.deploy-rs.lib;
|
||||
checks = lib.mapAttrs (_: deployLib: deployLib.deployChecks self.deploy) inputs.deploy-rs.lib;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue