added syncthing password

This commit is contained in:
willifan 2024-12-23 00:13:41 +01:00
parent a94fee1cd2
commit 985b5344f6
5 changed files with 20 additions and 18 deletions

View file

@ -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 = { };
}