mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-22 04:34:25 +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
|
|
@ -101,7 +101,7 @@ in
|
|||
username = "";
|
||||
password = "";
|
||||
};
|
||||
conditions = lib.flatten [
|
||||
conditions = lib.concatLists [
|
||||
extraConditions
|
||||
(lib.optional (lib.hasPrefix "http" url) "[STATUS] == 200")
|
||||
(lib.optional (lib.hasPrefix "tcp" url) "[CONNECTED] == true")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue