mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
Avoid builtins
This commit is contained in:
parent
5a960a1074
commit
c48f95dc56
3 changed files with 4 additions and 4 deletions
|
|
@ -20,9 +20,9 @@ let
|
|||
"${self}/users"
|
||||
|> builtins.readDir
|
||||
|> lib.filterAttrs (_: type: type == "directory")
|
||||
|> builtins.attrNames
|
||||
|> lib.attrNames
|
||||
|> map (user: "${self}/users/${user}/@${hostName}")
|
||||
|> builtins.filter (path: builtins.pathExists path);
|
||||
|> lib.filter (path: lib.pathExists path);
|
||||
in
|
||||
[
|
||||
{ networking = { inherit hostName; }; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue