1767649379

This commit is contained in:
2026-01-05 14:42:59 -07:00
parent c68b84ebd8
commit cb68fdb486
3 changed files with 17 additions and 1 deletions

View File

@@ -18,10 +18,14 @@ in
allowedTCPPorts = [
# Sunshine
47984 47989 48010
# SyncThing
8384 22000
];
allowedUDPPorts = [
# Sunshine
47998 47999 48000 48010
# SyncThing
22000 21027
];
};

View File

@@ -49,7 +49,6 @@
streamcontroller
onlyoffice-desktopeditors
cosmic-ext-tweaks
syncthing
];
# Programs with extra configuration

View File

@@ -1,5 +1,8 @@
{ config, pkgs, ... }:
let
settings = import ../settings.nix;
in
{
# Hardened OpenSSH
services.openssh = {
@@ -53,6 +56,16 @@
};
};
services = {
syncthing = {
enable = true;
group = "wheel";
user = "${settings.username}";
dataDir = "/home/${settings.username}/syncthing/data";
configDir = "/home/${settings.username}/syncthing/conf";
};
};
services.avahi.publish.enable = true;
services.avahi.publish.userServices = true;