mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
Refactor
This commit is contained in:
parent
0d7164fe0a
commit
49c918f747
13 changed files with 53 additions and 53 deletions
|
|
@ -18,7 +18,7 @@ in
|
|||
default =
|
||||
self.nixosConfigurations
|
||||
|> lib.attrValues
|
||||
|> lib.map (value: value.config.meta.domains.local)
|
||||
|> lib.map (host: host.config.meta.domains.local)
|
||||
|> lib.concatLists;
|
||||
readOnly = true;
|
||||
};
|
||||
|
|
@ -31,7 +31,7 @@ in
|
|||
duplicateDomains =
|
||||
self.nixosConfigurations
|
||||
|> lib.attrValues
|
||||
|> lib.map (value: value.options.meta.domains.local.definitionsWithLocations)
|
||||
|> lib.map (host: host.options.meta.domains.local.definitionsWithLocations)
|
||||
|> lib.concatLists
|
||||
|> lib.concatMap (
|
||||
{ file, value }:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue