l codimd: upgrade to follow upstream user rename & config change
This commit is contained in:
parent
43375edf55
commit
33ecf976ee
@ -21,7 +21,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
security.acme.certs.${domain}.group = "hedgecert";
|
security.acme.certs.${domain}.group = "hedgecert";
|
||||||
users.groups.hedgecert.members = [ "codimd" "nginx" ];
|
users.groups.hedgecert.members = [ "hedgedoc" "nginx" ];
|
||||||
|
|
||||||
security.dhparams = {
|
security.dhparams = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -35,10 +35,10 @@ in {
|
|||||||
services.hedgedoc = {
|
services.hedgedoc = {
|
||||||
enable = true;
|
enable = true;
|
||||||
configuration.allowOrigin = [ domain ];
|
configuration.allowOrigin = [ domain ];
|
||||||
configuration = {
|
settings = {
|
||||||
db = {
|
db = {
|
||||||
dialect = "sqlite";
|
dialect = "sqlite";
|
||||||
storage = "/var/lib/codimd/db.codimd.sqlite";
|
storage = "/var/lib/hedgedoc/db.hedgedoc.sqlite";
|
||||||
};
|
};
|
||||||
useCDN = false;
|
useCDN = false;
|
||||||
port = 3091;
|
port = 3091;
|
||||||
|
Loading…
Reference in New Issue
Block a user