From 6f0ae1cf457f40957d28761b4b153f52f01371ba Mon Sep 17 00:00:00 2001 From: albert Date: Thu, 21 Mar 2024 22:45:56 +0900 Subject: [PATCH] test --- nixos/common/desktops/xfce/default.nix | 2 ++ nixos/containers/rdesktop/default.nix | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/nixos/common/desktops/xfce/default.nix b/nixos/common/desktops/xfce/default.nix index 2b1225b6..1187af7d 100644 --- a/nixos/common/desktops/xfce/default.nix +++ b/nixos/common/desktops/xfce/default.nix @@ -18,6 +18,8 @@ autorun = true; desktopManager.xfce.enable = true; }; + + servics.xrdp.defaultWindowManager = "xfce4-session"; # environment.systemPackages = with pkgs; [ ]; } diff --git a/nixos/containers/rdesktop/default.nix b/nixos/containers/rdesktop/default.nix index 50d5ed5e..e6251c18 100644 --- a/nixos/containers/rdesktop/default.nix +++ b/nixos/containers/rdesktop/default.nix @@ -1,7 +1,7 @@ -{ hostname, username, desktop, tailscalekey, ... }: { +{ desktop, ... }: { imports = [ ../../common/desktops/${desktop} - ../common/software/packages.nix + ../../common/software/packages.nix ]; networking.firewall.allowedTCPPorts = [ 3389 ]; @@ -9,6 +9,5 @@ services.xrdp = { enable = true; openFirewall = true; - defaultWindowManager = "xfce4-session"; }; }