diff options
| author | Christian <[email protected]> | 2026-06-07 11:56:30 -0500 |
|---|---|---|
| committer | Christian <[email protected]> | 2026-06-07 11:56:30 -0500 |
| commit | be276fb33d3dcd5cf6296cb1e8bcdf599f5f73ca (patch) | |
| tree | 10e719aa6d9889713635fbfbae686601dc2cfba2 /hosts | |
| parent | 9a21de7a3264519e5e4e2302b472751de023bf22 (diff) | |
Windows 11 VM RDP
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 = { |
