Unverified Commit fe4d8b1b authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #310298 from rouven0/portunus-dex

nixos/portunus: fix dangling service files for dex
parents 3f5c6249 06667e02
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -231,13 +231,15 @@ in
    };

    systemd.services = {
      dex.serviceConfig = mkIf cfg.dex.enable {
      dex = mkIf cfg.dex.enable {
        serviceConfig = {
          # `dex.service` is super locked down out of the box, but we need some
          # place to write the SQLite database. This creates $STATE_DIRECTORY below
          # /var/lib/private because DynamicUser=true, but it gets symlinked into
          # /var/lib/dex inside the unit
          StateDirectory = "dex";
        };
      };

      portunus = {
        description = "Self-contained authentication service";