Old-materusPC: syncthing settings
This commit is contained in:
parent
c5aeae2cff
commit
bb4b85013c
|
@ -38,12 +38,16 @@
|
||||||
|
|
||||||
services.flatpak.enable = true;
|
services.flatpak.enable = true;
|
||||||
services.gvfs.enable = true;
|
services.gvfs.enable = true;
|
||||||
|
programs.kdeconnect.enable = true;
|
||||||
|
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "Europe/Warsaw";
|
time.timeZone = "Europe/Warsaw";
|
||||||
|
|
||||||
|
services.syncthing = {
|
||||||
|
enable = true;
|
||||||
|
user = "materus";
|
||||||
|
dataDir = "/home/materus";
|
||||||
|
};
|
||||||
services.fstrim = {
|
services.fstrim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
interval = "weekly";
|
interval = "weekly";
|
||||||
|
|
|
@ -9,8 +9,12 @@
|
||||||
networking.wireless.iwd.enable = true;
|
networking.wireless.iwd.enable = true;
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
networking.firewall.allowedTCPPorts = [ 24800 5900 5357 4656 ];
|
networking.firewall.allowedTCPPorts = [ 24800 5900 5357 4656
|
||||||
networking.firewall.allowedUDPPorts = [ 24800 5900 3702 4656 ];
|
22000 config.services.syncthing.relay.statusPort config.services.syncthing.relay.port # Syncthing
|
||||||
|
];
|
||||||
|
networking.firewall.allowedUDPPorts = [ 24800 5900 3702 4656
|
||||||
|
22000 21027 # Syncthing
|
||||||
|
];
|
||||||
# Or disable the firewall altogether.
|
# Or disable the firewall altogether.
|
||||||
networking.firewall.enable = true;
|
networking.firewall.enable = true;
|
||||||
networking.networkmanager.settings = {
|
networking.networkmanager.settings = {
|
||||||
|
|
Loading…
Reference in New Issue