From 83a45f7c964c38d1933019e8a77146376e45f77a Mon Sep 17 00:00:00 2001 From: iFargle Date: Mon, 4 Dec 2023 20:15:35 +0900 Subject: [PATCH] Test --- nixos/hosts/framework-server/default.nix | 3 --- nixos/hosts/framework-server/desktop.nix | 7 +++++++ 2 files changed, 7 insertions(+), 3 deletions(-) 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