Fix missing sops and hedgedoc config

This commit is contained in:
Felix Albrigtsen 2023-04-26 12:32:47 +02:00
parent de24025742
commit cce5c7fb6a
2 changed files with 4 additions and 1 deletions

View File

@ -15,7 +15,7 @@
./services/jellyfin.nix ./services/jellyfin.nix
./services/metrics ./services/metrics
./services/flame.nix ./services/flame.nix
#./services/hedgedoc.nix ./services/hedgedoc.nix
./services/code-server.nix ./services/code-server.nix
# TODO: # TODO:
# x Boot # x Boot
@ -45,6 +45,8 @@
hostId = "8e84b235"; hostId = "8e84b235";
}; };
sops.defaultSopsFile = ../../secrets/voyager/voyager.yaml;
environment.variables = { EDITOR = "vim"; }; environment.variables = { EDITOR = "vim"; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
((vim_configurable.override { }).customize{ ((vim_configurable.override { }).customize{

View File

@ -32,6 +32,7 @@ in {
userProfileURL = "${authServerUrl}/oauth2/openid/hedgedoc/userinfo"; userProfileURL = "${authServerUrl}/oauth2/openid/hedgedoc/userinfo";
clientID = "hedgedoc"; clientID = "hedgedoc";
clientSecret = "";
scope = "openid email profile"; scope = "openid email profile";
userProfileUsernameAttr = "name"; userProfileUsernameAttr = "name";
userProfileEmailAttr = "email"; userProfileEmailAttr = "email";