From 27f34c11fe9cacf71f4895e876eb7f88ec3280d8 Mon Sep 17 00:00:00 2001 From: iFargle Date: Mon, 4 Dec 2023 20:40:54 +0900 Subject: [PATCH] test --- nixos/hosts/framework-server/desktop.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nixos/hosts/framework-server/desktop.nix b/nixos/hosts/framework-server/desktop.nix index f5ea47fc..3a329e9f 100644 --- a/nixos/hosts/framework-server/desktop.nix +++ b/nixos/hosts/framework-server/desktop.nix @@ -1,4 +1,5 @@ -{ ... }: { +{ pkgs, ... }: { + # Enabling Gnome causes the machien to sleep. Disable all of these. systemd.targets.sleep.enable = false; systemd.targets.suspend.enable = false; systemd.targets.hibernate.enable = false; @@ -11,6 +12,9 @@ confDir = "/etc/xrdp/conf"; }; + environment.systemPackages = with pkgs; [ xorg.xinit ]; + + # XRDP needs IPv6 disabled to function. boot.kernel.sysctl = { "net.ipv6.conf.enp0s13f0u1.disable_ipv6" = true;