Added xpra

This commit is contained in:
Jan-Bulthuis 2025-04-17 22:21:05 +02:00
parent 55dc78ed46
commit e6a8899c1f
1 changed files with 16 additions and 0 deletions

View File

@ -36,6 +36,16 @@
cardinal
];
# Set up firewall
networking.firewall = {
allowedTCPPorts = [
10000
];
allowedUDPPorts = [
10000
];
};
# Setup dependencies
environment.variables.LD_LIBRARY_PATH = lib.mkForce "${lib.makeLibraryPath (
with pkgs;
@ -62,6 +72,12 @@
];
};
# Set up Xpra
services.xserver.displayManager.xpra = {
enable = true;
bindTcp = "0.0.0.0:10000";
};
# wprsd service
systemd.user.services.wprsd = {
description = "wprsd Service";