From cce5c7fb6a2754b21c8c5c6f26c9070407425f30 Mon Sep 17 00:00:00 2001 From: Felix Albrigtsen Date: Wed, 26 Apr 2023 12:32:47 +0200 Subject: [PATCH] Fix missing sops and hedgedoc config --- hosts/voyager/configuration.nix | 4 +++- hosts/voyager/services/hedgedoc.nix | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/voyager/configuration.nix b/hosts/voyager/configuration.nix index bd3dcee..a881c18 100644 --- a/hosts/voyager/configuration.nix +++ b/hosts/voyager/configuration.nix @@ -15,7 +15,7 @@ ./services/jellyfin.nix ./services/metrics ./services/flame.nix - #./services/hedgedoc.nix + ./services/hedgedoc.nix ./services/code-server.nix # TODO: # x Boot @@ -45,6 +45,8 @@ hostId = "8e84b235"; }; + sops.defaultSopsFile = ../../secrets/voyager/voyager.yaml; + environment.variables = { EDITOR = "vim"; }; environment.systemPackages = with pkgs; [ ((vim_configurable.override { }).customize{ diff --git a/hosts/voyager/services/hedgedoc.nix b/hosts/voyager/services/hedgedoc.nix index 1dd5a2b..ac514f1 100644 --- a/hosts/voyager/services/hedgedoc.nix +++ b/hosts/voyager/services/hedgedoc.nix @@ -32,6 +32,7 @@ in { userProfileURL = "${authServerUrl}/oauth2/openid/hedgedoc/userinfo"; clientID = "hedgedoc"; + clientSecret = ""; scope = "openid email profile"; userProfileUsernameAttr = "name"; userProfileEmailAttr = "email";