diff options
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/desktop/configuration.nix | 5 | ||||
| -rw-r--r-- | hosts/laptop/configuration.nix | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/hosts/desktop/configuration.nix b/hosts/desktop/configuration.nix index 3cdd014..e63cc68 100644 --- a/hosts/desktop/configuration.nix +++ b/hosts/desktop/configuration.nix @@ -36,5 +36,10 @@ services.xserver.videoDrivers = [ "amdgpu" ]; + networking.firewall.extraCommands = '' + iptables -t nat -A PREROUTING -p tcp --dport 3389 -j DNAT --to 192.168.111.111:3389 + iptables -I FORWARD -p tcp -d 192.168.111.111 --dport 3389 -j ACCEPT + ''; + system.stateVersion = "25.11"; } diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index c9978b7..1bfa033 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -12,7 +12,6 @@ ./hardware-configuration.nix ../../modules/common.nix ../../modules/re.nix - ../../modules/kvm.nix ]; boot.loader.grub = { |
