refactor(sops): Move secret definitions to specific modules
This commit is contained in:
parent
86e3ea7716
commit
4b51890e0a
3 changed files with 18 additions and 18 deletions
|
|
@ -64,5 +64,10 @@
|
||||||
in
|
in
|
||||||
''${pkgs.runtimeShell} -c '${confirm}' '';
|
''${pkgs.runtimeShell} -c '${confirm}' '';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sops.secrets = {
|
||||||
|
"porkbun/api-key".owner = "acme";
|
||||||
|
"porkbun/secret-api-key".owner = "acme";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -265,5 +265,18 @@ in
|
||||||
};
|
};
|
||||||
groups.backup = { };
|
groups.backup = { };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sops.secrets = {
|
||||||
|
"restic/storagebox-backups" = {
|
||||||
|
owner = "root";
|
||||||
|
group = "backup";
|
||||||
|
mode = "0440";
|
||||||
|
};
|
||||||
|
"restic/storagebox-ssh-key" = {
|
||||||
|
owner = "backup";
|
||||||
|
group = "backup";
|
||||||
|
mode = "0040";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -38,30 +38,12 @@
|
||||||
group = "nextcloud";
|
group = "nextcloud";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Porkbub/ACME
|
|
||||||
"porkbun/api-key" = {
|
|
||||||
owner = "acme";
|
|
||||||
};
|
|
||||||
"porkbun/secret-api-key" = {
|
|
||||||
owner = "acme";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Restic
|
# Restic
|
||||||
"restic/local-backups" = {
|
"restic/local-backups" = {
|
||||||
owner = "root";
|
owner = "root";
|
||||||
group = "backup";
|
group = "backup";
|
||||||
mode = "0440";
|
mode = "0440";
|
||||||
};
|
};
|
||||||
"restic/storagebox-backups" = {
|
|
||||||
owner = "root";
|
|
||||||
group = "backup";
|
|
||||||
mode = "0440";
|
|
||||||
};
|
|
||||||
"restic/storagebox-ssh-key" = {
|
|
||||||
owner = "backup";
|
|
||||||
group = "backup";
|
|
||||||
mode = "0040";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Steam
|
# Steam
|
||||||
"steam/tlater" = { };
|
"steam/tlater" = { };
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue