diff options
| author | Alejandro Soto <alejandro@34project.org> | 2025-04-17 17:03:31 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2025-04-19 11:10:00 -0600 |
| commit | 686e6e85e83770dc3ab18613ad5dad50ed59dda8 (patch) | |
| tree | 339f1d71139af8ea3fc60d1a5c6083f3df8d32ed /sys/web | |
| parent | 8153fa9abfc01d79da8cdc6f68365e4d4c4d7cf9 (diff) | |
sys/env: make each user have an 'install' attribute
Diffstat (limited to '')
| -rw-r--r-- | sys/web/sites/host.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/web/sites/host.nix b/sys/web/sites/host.nix index c1f028a..32ef1a6 100644 --- a/sys/web/sites/host.nix +++ b/sys/web/sites/host.nix @@ -2,9 +2,10 @@ with lib; let cfg = config.local.web.sites.host; - inherit (config.local) domains users; + inherit (config.local) domains; inherit (config.local.net) hostname; + users = filterAttrs (_: user: user.install) config.local.users; hostDomain = domains.${hostDomainName}; hostDomainName = "host-${hostname}"; |
