From dc3e0faafc910cebf9b80b496a8e3b2ad4b044df Mon Sep 17 00:00:00 2001 From: iFargle Date: Mon, 4 Dec 2023 20:58:23 +0900 Subject: [PATCH] Test --- nixos/hosts/framework-server/default.nix | 2 +- .../framework-server/{desktop.nix => rdesktop.nix} | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) rename nixos/hosts/framework-server/{desktop.nix => rdesktop.nix} (58%) diff --git a/nixos/hosts/framework-server/default.nix b/nixos/hosts/framework-server/default.nix index c9ee0a33..8a2a1a26 100644 --- a/nixos/hosts/framework-server/default.nix +++ b/nixos/hosts/framework-server/default.nix @@ -10,7 +10,7 @@ ./ssh-luks.nix ./docker.nix ./wireguard.nix - ] ++ lib.optional (builtins.isString desktop) ./desktop.nix; + ] ++ lib.optional (builtins.isString desktop) ./rdesktop.nix; # steam , etc nixpkgs.config.allowUnfree = true; diff --git a/nixos/hosts/framework-server/desktop.nix b/nixos/hosts/framework-server/rdesktop.nix similarity index 58% rename from nixos/hosts/framework-server/desktop.nix rename to nixos/hosts/framework-server/rdesktop.nix index a5b3df7c..e8f9afe8 100644 --- a/nixos/hosts/framework-server/desktop.nix +++ b/nixos/hosts/framework-server/rdesktop.nix @@ -7,17 +7,17 @@ services.xrdp = { enable = true; - # defaultWindowManager = "gnome-session"; + defaultWindowManager = "gnome-session"; openFirewall = true; confDir = "/etc/xrdp/conf"; }; - # environment.systemPackages = with pkgs; [ xorg.xinit ]; + environment.systemPackages = with pkgs; [ xorg.xinit ]; # 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; - # }; + 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