nix/nixos/common/desktops/xfce/default.nix

32 lines
692 B
Nix
Raw Normal View History

2024-03-20 04:00:50 +01:00
{ pkgs, ... }: {
2024-03-20 03:44:14 +01:00
# 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;
};
2024-03-21 14:45:56 +01:00
2024-03-21 14:49:51 +01:00
services.xrdp.defaultWindowManager = "xfce4-session";
2024-03-20 03:44:14 +01:00
2024-03-22 03:37:18 +01:00
environment.systemPackages = with pkgs; [
papirus-folders
papirus-nord
xfce.xfwm4-themes
xfce4-docklike-plugin
2024-03-22 04:29:28 +01:00
dconf2nix # https://github.com/gvolpe/dconf2nix
2024-03-22 03:37:18 +01:00
];
2024-03-20 03:44:14 +01:00
}