phantom: migrate secrets to sops
This commit is contained in:
parent
5f57fb269a
commit
3be05b100b
11 changed files with 24 additions and 102 deletions
|
|
@ -12,19 +12,16 @@
|
|||
nginx.forceSSL = true;
|
||||
host = "blog.lelgenio.com";
|
||||
admin.name = "lelgenio";
|
||||
admin.initialPasswordFile = config.age.secrets.phantom-writefreely.path;
|
||||
admin.initialPasswordFile = config.sops.secrets."writefreely/password".path;
|
||||
settings.app = {
|
||||
site_name = "Leo's blog";
|
||||
single_user = true;
|
||||
};
|
||||
};
|
||||
|
||||
age = {
|
||||
secrets.phantom-writefreely = {
|
||||
file = ../../secrets/phantom-writefreely.age;
|
||||
mode = "400";
|
||||
owner = "writefreely";
|
||||
group = "writefreely";
|
||||
};
|
||||
sops.secrets."writefreely/password" = {
|
||||
mode = "400";
|
||||
owner = "writefreely";
|
||||
group = "writefreely";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue