From 686e6e85e83770dc3ab18613ad5dad50ed59dda8 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Thu, 17 Apr 2025 17:03:31 -0600 Subject: sys/env: make each user have an 'install' attribute --- sys/web/sites/host.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/web/sites') 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}"; -- cgit v1.2.3