diff options
Diffstat (limited to 'hostnix/elmo/oidc.nix')
| -rw-r--r-- | hostnix/elmo/oidc.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/hostnix/elmo/oidc.nix b/hostnix/elmo/oidc.nix index 88f8e9a..4421eb9 100644 --- a/hostnix/elmo/oidc.nix +++ b/hostnix/elmo/oidc.nix @@ -1,6 +1,14 @@ { lib, pkgs, ... }: { + systemd.services.glauth = { + wantedBy = [ "multi-user.target" ]; + serviceConfig = { + DynamicUser = true; + }; + script = "${pkgs.glauth}/bin/glauth -c ${./glauth/glauth.toml}"; + }; + services.dex = { enable = true; settings = { |
