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;