From df24ec44f0df95a2179ba8bed7cf54dc5c4075aa Mon Sep 17 00:00:00 2001 From: Tyler Starr Date: Tue, 22 Oct 2024 21:11:54 -0700 Subject: [PATCH] remove syncthing for torus and shivan --- provision/hosts/shivan/configuration.nix | 1 - provision/hosts/shivan/syncthing.nix | 28 ------------------------ provision/hosts/torus/configuration.nix | 1 - provision/hosts/torus/syncthing.nix | 24 -------------------- 4 files changed, 54 deletions(-) delete mode 100644 provision/hosts/shivan/syncthing.nix delete mode 100644 provision/hosts/torus/syncthing.nix diff --git a/provision/hosts/shivan/configuration.nix b/provision/hosts/shivan/configuration.nix index aa4931b8..f58323e3 100644 --- a/provision/hosts/shivan/configuration.nix +++ b/provision/hosts/shivan/configuration.nix @@ -1,7 +1,6 @@ { config, pkgs, user, lib, ... }: { imports = [ - ./syncthing.nix ]; # Use performance governor for sweet gaming performance! diff --git a/provision/hosts/shivan/syncthing.nix b/provision/hosts/shivan/syncthing.nix deleted file mode 100644 index 23b28553..00000000 --- a/provision/hosts/shivan/syncthing.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ config, lib, pkgs, user, ... }: -{ - networking.firewall.allowedTCPPorts = [ 8384 22000 ]; - networking.firewall.allowedUDPPorts = [ 22000 21027 ]; - - environment.systemPackages = with pkgs; [ - syncthing # File sync program for multiple devices in real-time. - ]; - - services.syncthing = { - enable = true; - user = "${user}"; - dataDir = "/home/${user}/.local/share/syncthing"; - configDir = "/home/${user}/.config/syncthing"; - guiAddress = "0.0.0.0:8384"; - overrideDevices = true; - overrideFolders = true; - settings.devices = { - "kestrel" = { id = "KYEWTBL-GL343U7-OIM63LT-2IYGJAP-RCL545L-2KJOIY4-6352W6Y-DZRVGAL"; }; - }; - settings.folders = { - "General Sync" = { - path = "/home/${user}/sync"; - devices = [ "kestrel" ]; - }; - }; - }; -} diff --git a/provision/hosts/torus/configuration.nix b/provision/hosts/torus/configuration.nix index 8e1dbb4a..8dd81703 100644 --- a/provision/hosts/torus/configuration.nix +++ b/provision/hosts/torus/configuration.nix @@ -4,7 +4,6 @@ ../../modules ./wireguard-server.nix ./samba-server.nix - ./syncthing.nix ./rss.nix ./home-assistant ./gitea.nix diff --git a/provision/hosts/torus/syncthing.nix b/provision/hosts/torus/syncthing.nix deleted file mode 100644 index a1926822..00000000 --- a/provision/hosts/torus/syncthing.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ config, lib, pkgs, user, ... }: -{ - networking.firewall.allowedTCPPorts = [ 8384 22000 ]; - networking.firewall.allowedUDPPorts = [ 22000 21027 ]; - - environment.systemPackages = with pkgs; [ - syncthing # File sync program for multiple devices in real-time. - ]; - - services.syncthing = { - enable = true; - user = "${user}"; - dataDir = "/home/${user}/.local/share/syncthing"; - configDir = "/home/${user}/.config/syncthing"; - guiAddress = "0.0.0.0:8384"; - overrideDevices = true; - overrideFolders = true; - settings.devices = { - "kestrel" = { id = "TY6I6UK-YWXZYB4-7DKSB5Y-6ZBGE6U-T5WNJK4-KPLTXP7-ZTZQPXU-LX4HPQZ"; }; - }; - settings.folders = { - }; - }; -}