Browse Source

Add syncthing configs

main
Leonora Tindall 2 years ago
parent
commit
7b102b2b8f
Signed by: nora GPG Key ID: 7A8B52EC67E09AAF
  1. 7
      common/fragments/syncthing.nix
  2. 2
      hosts/calembel/configuration.nix
  3. 3
      hosts/crimespoon/configuration.nix
  4. 9
      hosts/felonyspork/configuration.nix

7
common/fragments/syncthing.nix

@ -4,6 +4,11 @@
enable = true;
user = "nora";
dataDir = "/home/nora/Sync";
configDir = "/home/nora/.config/syncthing";
configDir = "/home/nora/.config/Syncthing";
guiAddress = "0.0.0.0:8384";
};
# Syncthing ports
networking.firewall.allowedTCPPorts = [ 8384 22000 ];
networking.firewall.allowedUDPPorts = [ 22000 21027 ];
}

2
hosts/calembel/configuration.nix

@ -86,6 +86,8 @@
# Enable the OpenSSH daemon.
services.openssh.enable = true;
services.syncthing.configDir = "/home/nora/.config/syncthing";
# Enable Steam
programs.steam.enable = true;

3
hosts/crimespoon/configuration.nix

@ -14,6 +14,7 @@
../../common/fragments/grafana.nix
../../common/fragments/qbittorrent.nix
../../common/fragments/prometheus_exporters.nix
../../common/fragments/syncthing.nix
];
# Use the systemd-boot EFI boot loader.
@ -38,6 +39,8 @@
fsType = "nfs";
};
services.syncthing.dataDir = "/mnt/moria/crimespoon/Sync";
# Enable NFS to Moria
fileSystems."/mnt/Download" = {
device = "moria.local:/volume1/Download";

9
hosts/felonyspork/configuration.nix

@ -10,6 +10,7 @@
./hardware-configuration.nix
./home.nix
../../common/fragments/avahi.nix
../../common/fragments/syncthing.nix
];
# Use the systemd-boot EFI boot loader.
@ -19,6 +20,14 @@
networking.hostName = "felonyspork"; # Define your hostname.
networking.wireless.enable = false; # Enables wireless support via wpa_supplicant.
# Enable NFS to Moria
fileSystems."/mnt/moria" = {
device = "moria.local:/volume1/NetworkStore";
fsType = "nfs";
};
services.syncthing.dataDir = "/mnt/moria/felonyspork/Sync";
# Set your time zone.
time.timeZone = "America/Chicago";

Loading…
Cancel
Save