refactor: nest sops options
This commit is contained in:
parent
023e0fded2
commit
08d5398b4f
2 changed files with 9 additions and 5 deletions
|
|
@ -3,6 +3,10 @@
|
|||
user,
|
||||
...
|
||||
}: {
|
||||
sops.secrets.restic_key = {
|
||||
owner = config.users.users.${user}.name;
|
||||
};
|
||||
|
||||
services.restic.backups = {
|
||||
backups = {
|
||||
user = "${user}";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue