diff --git a/nixos/hosts/framework-server/default.nix b/nixos/hosts/framework-server/default.nix index 0cd8a52b..c9ee0a33 100644 --- a/nixos/hosts/framework-server/default.nix +++ b/nixos/hosts/framework-server/default.nix @@ -50,9 +50,6 @@ boot.kernel.sysctl = { "net.ipv4.ip_forward" = true; - "net.ipv6.conf.enp0s13f0u1.disable_ipv6" = true; - "net.ipv6.conf.all.disable_ipv6" = true; - "net.ipv6.conf.wlp170s0.disable_ipv6" = true; }; boot.initrd.services.udev.rules = '' diff --git a/nixos/hosts/framework-server/desktop.nix b/nixos/hosts/framework-server/desktop.nix index 70dd33bb..d4d74259 100644 --- a/nixos/hosts/framework-server/desktop.nix +++ b/nixos/hosts/framework-server/desktop.nix @@ -10,4 +10,11 @@ openFirewall = true; confDir = "/etc/xrdp/conf"; }; + + # XRDP needs IPv6 disabled to function. + boot.kernel.sysctl = { + "net.ipv6.conf.enp0s13f0u1.disable_ipv6" = true; + "net.ipv6.conf.all.disable_ipv6" = true; + "net.ipv6.conf.wlp170s0.disable_ipv6" = true; + }; } \ No newline at end of file