This commit is contained in:
albert 2025-02-20 09:04:09 -08:00
parent 61f693ecf0
commit d505186a8a
Signed by: albert
GPG key ID: 3895DD267CA11BA9

View file

@ -2,15 +2,17 @@
imports = [ ] ++ lib.optional (builtins.isString desktop) ./syncthing-desktop.nix;
# Set up the secrets file:
sops.secrets."syncthing/cert" = {
owner = "root";
sopsFile = ../../../secrets/${deployment_type}/${hostname}.yaml;
restartUnits = [ "syncthing.service" ];
};
sops.secrets."syncthing/key" = {
owner = "root";
sopsFile = ../../../secrets/${deployment_type}/${hostname}.yaml;
restartUnits = [ "syncthing.service" ];
sops.secrets = {
"syncthing/cert" = {
owner = "root";
sopsFile = ../../../secrets/${deployment_type}/${hostname}.yaml;
restartUnits = [ "syncthing.service" ];
};
"syncthing/key" = {
owner = "root";
sopsFile = ../../../secrets/${deployment_type}/${hostname}.yaml;
restartUnits = [ "syncthing.service" ];
};
};
networking.firewall.interfaces.tailscale0 = {