ghost: enabled writefreely
This commit is contained in:
parent
5eca20902c
commit
eb3eca98c4
|
@ -78,6 +78,16 @@
|
||||||
extraConfig.SINGLE_USER_MODE = "true";
|
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} = {
|
services.nginx.virtualHosts.${config.services.nextcloud.hostName} = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
|
BIN
secrets/ghost-writefreely.age
Normal file
BIN
secrets/ghost-writefreely.age
Normal file
Binary file not shown.
|
@ -8,4 +8,5 @@ in
|
||||||
"lelgenio-cachix.age".publicKeys = [ main_ssh_public_key ];
|
"lelgenio-cachix.age".publicKeys = [ main_ssh_public_key ];
|
||||||
"monolith-nix-serve-privkey.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-nextcloud.age".publicKeys = [ main_ssh_public_key ];
|
||||||
|
"ghost-writefreely.age".publicKeys = [ main_ssh_public_key ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,10 +11,16 @@
|
||||||
secrets.monolith-nix-serve-privkey.file =
|
secrets.monolith-nix-serve-privkey.file =
|
||||||
../secrets/monolith-nix-serve-privkey.age;
|
../secrets/monolith-nix-serve-privkey.age;
|
||||||
secrets.ghost-nextcloud = {
|
secrets.ghost-nextcloud = {
|
||||||
file = ../secrets/monolith-nix-serve-privkey.age;
|
file = ../secrets/ghost-nextcloud.age;
|
||||||
mode = "400";
|
mode = "400";
|
||||||
owner = "nextcloud";
|
owner = "nextcloud";
|
||||||
group = "nextcloud";
|
group = "nextcloud";
|
||||||
};
|
};
|
||||||
|
secrets.ghost-writefreely = {
|
||||||
|
file = ../secrets/ghost-writefreely.age;
|
||||||
|
mode = "400";
|
||||||
|
owner = "writefreely";
|
||||||
|
group = "writefreely";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue