nixos-config/hosts/phantom/writefreely.nix

31 lines
583 B
Nix
Raw Permalink Normal View History

{
config,
pkgs,
inputs,
...
}:
{
2024-03-28 21:56:52 -03:00
services.writefreely = {
enable = true;
acme.enable = true;
nginx.enable = true;
nginx.forceSSL = true;
2024-05-11 18:00:19 -03:00
host = "blog.lelgenio.com";
2024-03-28 21:56:52 -03:00
admin.name = "lelgenio";
admin.initialPasswordFile = config.age.secrets.phantom-writefreely.path;
2024-03-28 21:56:52 -03:00
settings.app = {
site_name = "Leo's blog";
single_user = true;
};
};
age = {
secrets.phantom-writefreely = {
file = ../../secrets/phantom-writefreely.age;
2024-03-28 21:56:52 -03:00
mode = "400";
owner = "writefreely";
group = "writefreely";
};
};
}