mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
Remove all uses of lib.flatten
This commit is contained in:
parent
23762ecb29
commit
b7d927cb39
4 changed files with 27 additions and 32 deletions
|
|
@ -15,11 +15,11 @@ let
|
|||
|> lib.filesystem.listFilesRecursive
|
||||
|> builtins.filter (lib.hasSuffix ".nix");
|
||||
in
|
||||
lib.flatten [
|
||||
[
|
||||
{ networking = { inherit hostName; }; }
|
||||
"${self}/hosts/shared.nix"
|
||||
hostFiles
|
||||
];
|
||||
]
|
||||
++ hostFiles;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue