Adding OIDC to komga
This commit is contained in:
parent
1e7b78fdc2
commit
e1bec87cd8
3 changed files with 16 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
{ ... }:
|
{ config, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
services.komga = {
|
services.komga = {
|
||||||
|
|
@ -6,8 +6,22 @@
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
server = {
|
server = {
|
||||||
|
# Not actually set here, but in the secret.
|
||||||
port = 44302;
|
port = 44302;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.tmpfiles.settings."10-komga" = {
|
||||||
|
"${config.services.komga.stateDir}/application.yml" = lib.mkForce null;
|
||||||
|
};
|
||||||
|
|
||||||
|
age.secrets = {
|
||||||
|
nayru-conf = {
|
||||||
|
file = ../../../secrets/zora/services/nayru-conf.age;
|
||||||
|
path = "${config.services.komga.stateDir}/application.yml";
|
||||||
|
owner = "komga";
|
||||||
|
group = "komga";
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -17,4 +17,5 @@ in
|
||||||
"secrets/zora/services/giovanni-env.age".publicKeys = all;
|
"secrets/zora/services/giovanni-env.age".publicKeys = all;
|
||||||
"secrets/zora/services/baba-db-pass.age".publicKeys = all;
|
"secrets/zora/services/baba-db-pass.age".publicKeys = all;
|
||||||
"secrets/zora/services/baba-admin-pass.age".publicKeys = all;
|
"secrets/zora/services/baba-admin-pass.age".publicKeys = all;
|
||||||
|
"secrets/zora/services/nayru-conf.age".publicKeys = all;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
BIN
secrets/zora/services/nayru-conf.age
Normal file
BIN
secrets/zora/services/nayru-conf.age
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue