mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 17:49:07 +01:00
Add external host support
This commit is contained in:
parent
f93908d157
commit
28e704ceff
11 changed files with 31 additions and 21 deletions
|
|
@ -18,14 +18,14 @@
|
|||
};
|
||||
|
||||
hostCreationRules =
|
||||
self.nixosConfigurations
|
||||
self.allHosts
|
||||
|> lib.attrValues
|
||||
|> lib.map (host: host.config.custom.sops)
|
||||
|> lib.filter (sops: sops.enable)
|
||||
|> lib.map mkCreationRule;
|
||||
|
||||
userCreationRules =
|
||||
self.nixosConfigurations
|
||||
self.allHosts
|
||||
|> lib.attrValues
|
||||
|> lib.filter (host: host.config |> lib.hasAttr "home-manager")
|
||||
|> lib.map (host: host.config.home-manager.users.seb.custom.sops)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue