mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-05-09 22:10:54 +02:00
agenix: migrate nuc
This commit is contained in:
parent
517f03c86e
commit
3c5095f144
17 changed files with 60 additions and 144 deletions
|
@ -3,8 +3,9 @@ let
|
|||
domain = "nextcloud.${config.networking.domain}";
|
||||
in
|
||||
{
|
||||
sops.secrets = {
|
||||
age.secrets = {
|
||||
"nextcloud/adminpass" = {
|
||||
file = ../../../../secrets/nuc/nextcloud/adminpass.age;
|
||||
owner = "nextcloud";
|
||||
group = "nextcloud";
|
||||
};
|
||||
|
@ -21,7 +22,7 @@ in
|
|||
dbuser = "nextcloud";
|
||||
dbhost = "/run/postgresql";
|
||||
dbname = "nextcloud";
|
||||
adminpassFile = config.sops.secrets."nextcloud/adminpass".path;
|
||||
adminpassFile = config.age.secrets."nextcloud/adminpass".path;
|
||||
adminuser = "rouven";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue