phantom: migrate secrets to sops
This commit is contained in:
parent
5f57fb269a
commit
3be05b100b
11 changed files with 24 additions and 102 deletions
|
|
@ -11,7 +11,7 @@
|
|||
https = true;
|
||||
config = {
|
||||
dbtype = "sqlite"; # TODO: move to single postgres db
|
||||
adminpassFile = config.age.secrets.phantom-nextcloud.path;
|
||||
adminpassFile = config.sops.secrets."nextcloud/default-password".path;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -20,12 +20,9 @@
|
|||
enableACME = true;
|
||||
};
|
||||
|
||||
age = {
|
||||
secrets.phantom-nextcloud = {
|
||||
file = ../../secrets/phantom-nextcloud.age;
|
||||
mode = "400";
|
||||
owner = "nextcloud";
|
||||
group = "nextcloud";
|
||||
};
|
||||
sops.secrets."nextcloud/default-password" = {
|
||||
mode = "400";
|
||||
owner = "nextcloud";
|
||||
group = "nextcloud";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue