nix/nixos/common/desktops/xfce/default.nix
2024-03-22 13:28:25 +09:00

30 lines
666 B
Nix

{ 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
dconf2nix # https://github.com/gvolpe/dconf2nix
];
}