ghost: enabled writefreely

This commit is contained in:
Leonardo Eugênio 2023-10-16 10:15:19 -03:00
parent 5eca20902c
commit eb3eca98c4
4 changed files with 18 additions and 1 deletions

View file

@ -78,6 +78,16 @@
extraConfig.SINGLE_USER_MODE = "true";
};
services.writefreely = {
enable = true;
acme.enable = true;
nginx.enable = true;
nginx.forceSSL = true;
host = "blog.lelgenio.xyz";
admin.name = "lelgenio";
admin.initialPasswordFile = config.age.secrets.ghost-writefreely.path;
};
services.nginx.virtualHosts.${config.services.nextcloud.hostName} = {
forceSSL = true;
enableACME = true;

Binary file not shown.

View file

@ -8,4 +8,5 @@ in
"lelgenio-cachix.age".publicKeys = [ main_ssh_public_key ];
"monolith-nix-serve-privkey.age".publicKeys = [ main_ssh_public_key ];
"ghost-nextcloud.age".publicKeys = [ main_ssh_public_key ];
"ghost-writefreely.age".publicKeys = [ main_ssh_public_key ];
}

View file

@ -11,10 +11,16 @@
secrets.monolith-nix-serve-privkey.file =
../secrets/monolith-nix-serve-privkey.age;
secrets.ghost-nextcloud = {
file = ../secrets/monolith-nix-serve-privkey.age;
file = ../secrets/ghost-nextcloud.age;
mode = "400";
owner = "nextcloud";
group = "nextcloud";
};
secrets.ghost-writefreely = {
file = ../secrets/ghost-writefreely.age;
mode = "400";
owner = "writefreely";
group = "writefreely";
};
};
}