diff --git a/hosts/common/optional/gnome.nix b/hosts/common/optional/gnome.nix index bce4bbf..5c25500 100644 --- a/hosts/common/optional/gnome.nix +++ b/hosts/common/optional/gnome.nix @@ -6,6 +6,7 @@ gdm = { enable = true; autoSuspend = false; + wayland = true; }; }; desktopManager = { @@ -33,4 +34,4 @@ hibernate.enable = false; hybrid-sleep.enable = false; }; -} \ No newline at end of file +} diff --git a/hosts/common/optional/remote-desktop.nix b/hosts/common/optional/remote-desktop.nix new file mode 100644 index 0000000..1c4eccb --- /dev/null +++ b/hosts/common/optional/remote-desktop.nix @@ -0,0 +1,9 @@ +{ + services = { + xrdp = { + enable = true; + defaultWindowManager = "/run/current-system/sw/bin/gnome-shell"; + openFirewall = true; + }; + }; +} 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 ];