From a51d38d7d90b4430d86c6d4276f7dd9e8762cfe3 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Wed, 3 Jan 2024 08:16:15 -0600 Subject: [PATCH] nixos: configure xrdp --- hosts/common/optional/remote-desktop.nix | 14 ++++++++++++++ hosts/pixnix/default.nix | 1 + 2 files changed, 15 insertions(+) create mode 100644 hosts/common/optional/remote-desktop.nix diff --git a/hosts/common/optional/remote-desktop.nix b/hosts/common/optional/remote-desktop.nix new file mode 100644 index 0000000..fb0538e --- /dev/null +++ b/hosts/common/optional/remote-desktop.nix @@ -0,0 +1,14 @@ +{ + services = { + xserver = { + enable = true; + displayManager.sddm.enable = true; + desktopManager.plasma5.enable = true; + }; + xrdp = { + enable = true; + defaultWindowManager = "startplasma-x11"; + openFirewall = true; + }; + }; +} \ No newline at end of file diff --git a/hosts/pixnix/default.nix b/hosts/pixnix/default.nix index bfa20e3..b9b6cb6 100644 --- a/hosts/pixnix/default.nix +++ b/hosts/pixnix/default.nix @@ -13,6 +13,7 @@ ../common/optional/libvirtd.nix ../common/optional/pipewire.nix ../common/optional/printing.nix + ../common/optional/remote-desktop.nix ../common/optional/sshd.nix ];