added syncthing password
This commit is contained in:
parent
a94fee1cd2
commit
985b5344f6
5 changed files with 20 additions and 18 deletions
|
@ -1,9 +1,6 @@
|
|||
{ attrs, ... }:
|
||||
{ ... }:
|
||||
{
|
||||
|
||||
imports = [
|
||||
attrs.sops-nix.nixosModules.sops
|
||||
];
|
||||
|
||||
sops.defaultSopsFile = ../../secrets/secrets.yaml;
|
||||
sops.defaultSopsFormat = "yaml";
|
||||
|
@ -13,6 +10,12 @@
|
|||
sops.secrets."ssh/root/private" = {
|
||||
owner = "root";
|
||||
};
|
||||
|
||||
sops.secrets."syncthing/password" = {
|
||||
mode = "440";
|
||||
group = "syncthing";
|
||||
};
|
||||
|
||||
users.groups.syncthing = { };
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue