{ pkgs, ... }: { # Enable sound with pipewire. sound.enable = true; hardware.pulseaudio.enable = false; security.rtkit.enable = true; services.pipewire = { enable = true; alsa.enable = true; alsa.support32Bit = true; pulse.enable = true; }; # Configure keymap in X11 services.xserver = { enable = true; layout = "us"; xkbVariant = ""; autorun = true; desktopManager.xfce.enable = true; }; services.xrdp.defaultWindowManager = "xfce4-session"; environment.systemPackages = with pkgs; [ papirus-folders papirus-nord xfce.xfwm4-themes xfce4-docklike-plugin ]; }