hosts: add phantom
This commit is contained in:
parent
c60e22b26a
commit
7ab7a3459a
12 changed files with 311 additions and 0 deletions
25
hosts/phantom/writefreely.nix
Normal file
25
hosts/phantom/writefreely.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ config, pkgs, inputs, ... }: {
|
||||
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;
|
||||
settings.app = {
|
||||
site_name = "Leo's blog";
|
||||
single_user = true;
|
||||
};
|
||||
};
|
||||
|
||||
age = {
|
||||
secrets.ghost-writefreely = {
|
||||
file = ../../secrets/ghost-writefreely.age;
|
||||
mode = "400";
|
||||
owner = "writefreely";
|
||||
group = "writefreely";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue