Clean up
This commit is contained in:
parent
61f693ecf0
commit
d505186a8a
1 changed files with 11 additions and 9 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Reference in a new issue