diff --git a/modules/hosts/orion/default.nix b/modules/hosts/orion/default.nix index 566c621..e5b8efd 100644 --- a/modules/hosts/orion/default.nix +++ b/modules/hosts/orion/default.nix @@ -1,21 +1,24 @@ -{ lux, ... }: +{ den, lib, lux, ... }: let - lingerForUsers = { - user.linger = true; - }; + lingerForUsers = den.lib.perHost ( + { host, ... }: + { + nixos.users.users = lib.mapAttrs (_: _: { + linger = true; + }) host.users; + } + ); in { den.aspects.orion = { - provides.to-users = lingerForUsers; - - includes = with lux.services._; [ + includes = (with lux.services._; [ caddy openssh vaultwarden radicale actual gitea - ]; + ]) ++ [ lingerForUsers ]; nixos = { pkgs, ... }: