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

37 lines
763 B
Nix
Raw Normal View History

2024-03-20 04:00:50 +01:00
{ pkgs, ... }: {
2024-04-05 11:50:01 +02:00
imports = [
../../modules/fonts.nix
];
2024-03-20 03:44:14 +01:00
# Enable sound with pipewire.
2024-04-08 04:27:43 +02:00
nixpkgs.config.pulseaudio = true;
2024-03-20 03:44:14 +01:00
sound.enable = true;
2024-04-08 04:23:23 +02:00
hardware.pulseaudio.enable = true;
2024-03-20 03:44:14 +01:00
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
2024-03-22 04:29:28 +01:00
dconf2nix # https://github.com/gvolpe/dconf2nix
2024-04-05 11:50:01 +02:00
arc-theme
2024-03-22 03:37:18 +01:00
];
2024-03-20 03:44:14 +01:00
}