Make Detritus work by any means necessary

This commit is contained in:
Bun 2025-05-13 12:18:30 -04:00
parent b7c5651306
commit 86a180de0c
3 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
{ config, lib, ... }: { config, lib, pkgs, ... }:
{ {
home-manager.users."${config.sysusers.main}" = { home-manager.users."${config.sysusers.main}" = {
home = { home = {
@ -6,6 +6,6 @@
stateVersion = lib.mkForce config.system.stateVersion; stateVersion = lib.mkForce config.system.stateVersion;
}; };
wayland.windowManager.sway.extraSessionCommands = lib.mkForce "export ELECTRON_OZONE_PLATFORM_HINT=wayland"; wayland.windowManager.sway.package = pkgs.swayfx;
}; };
} }

View file

@ -26,11 +26,10 @@
type nat hook prerouting priority dstnat; policy accept; type nat hook prerouting priority dstnat; policy accept;
tcp dport 2211 dnat ip to 11.0.0.100:22 comment "Tower SSH" tcp dport 2211 dnat ip to 11.0.0.100:22 comment "Tower SSH"
tcp dport 2222 dnat ip to 11.0.0.2:22 comment "Kitty SSH" tcp dport 2222 dnat ip to 11.0.0.2:22 comment "Kitty SSH"
tcp dport 2050 dnat ip to 11.0.0.2:2049 comment "Kitty NFS"
udp dport { 27005, 27015 } dnat ip to 11.0.0.100 comment "PC Hosted Games" udp dport { 27005, 27015 } dnat ip to 11.0.0.100 comment "PC Hosted Games"
tcp dport { 48010, 47989, 47984 } dnat ip to 11.0.0.100 comment "PC Sunshine TCP"
udp dport { 47998, 47999, 48000 } dnat ip to 11.0.0.100 comment "PC Sunshine UDP"
} }
chain forward { chain forward {

View file

@ -63,6 +63,7 @@
"7:${config.ws.w7}" = [ "7:${config.ws.w7}" = [
{ app_id = "teams-for-linux"; } { app_id = "teams-for-linux"; }
{ app_id = "vesktop"; } { app_id = "vesktop"; }
{ class = "vesktop"; }
]; ];
"9:${config.ws.w9}" = [{ app_id = "thunderbird"; }]; "9:${config.ws.w9}" = [{ app_id = "thunderbird"; }];