36 lines
763 B
Nix
36 lines
763 B
Nix
{ pkgs, ... }: {
|
|
imports = [
|
|
../../modules/fonts.nix
|
|
];
|
|
|
|
# Enable sound with pipewire.
|
|
nixpkgs.config.pulseaudio = true;
|
|
sound.enable = true;
|
|
hardware.pulseaudio.enable = true;
|
|
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
|
|
arc-theme
|
|
];
|
|
}
|