From de75fccdcf95b3c5bde9b066ee200127ed289493 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 23 May 2023 11:05:44 +0100 Subject: [PATCH] Add xrdp config, add to plasma desktop --- desktop/plasma.nix | 3 ++- desktop/xrdp.nix | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 desktop/xrdp.nix diff --git a/desktop/plasma.nix b/desktop/plasma.nix index 85f72e82..d0d0e41c 100644 --- a/desktop/plasma.nix +++ b/desktop/plasma.nix @@ -1,8 +1,9 @@ {pkgs, ...}: let delta-icon-theme = pkgs.callPackage ./pkgs/delta-icon-theme {}; in { - imports = [./xserver.nix ./sddm.nix]; + imports = [./xserver.nix ./sddm.nix ./xrdp.nix]; services.xserver.desktopManager.plasma5.enable = true; + services.xrdp.defaultWindowManager = "startplasma-x11"; programs.kdeconnect.enable = true; environment.systemPackages = [ pkgs.libsForQt5.lightly diff --git a/desktop/xrdp.nix b/desktop/xrdp.nix new file mode 100644 index 00000000..40067152 --- /dev/null +++ b/desktop/xrdp.nix @@ -0,0 +1,7 @@ +{...}: { + imports = [./xserver.nix]; + services.xrdp = { + enable = true; + openFirewall = true; + }; +}