Commit 36bb5a317f24
Changed files (1)
systems
aomi
systems/aomi/system.nix
@@ -55,28 +55,6 @@ in
mode = "0644";
};
- # Syncthing user service for vincent
- systemd.services.syncthing = {
- description = "Syncthing - Open Source Continuous File Synchronization";
- wants = [ "network-online.target" ];
- after = [ "network-online.target" ];
- wantedBy = [ "system-manager.target" ];
- serviceConfig = {
- Type = "simple";
- User = "vincent";
- Group = "vincent";
- ExecStart = "${pkgs.syncthing}/bin/syncthing serve --no-browser --no-restart";
- Restart = "on-failure";
- RestartSec = "10";
- SuccessExitStatus = "3 4";
- RestartForceExitStatus = "3 4";
- # Hardening
- ProtectSystem = "full";
- PrivateTmp = true;
- SystemCallArchitectures = "native";
- MemoryDenyWriteExecute = true;
- NoNewPrivileges = true;
- };
- };
+ # Syncthing is managed by home-manager (user service with full folder config)
};
}