2023-07-06 13:29:55 +02:00
|
|
|
{ config, pkgs, ... }: {
|
2023-08-14 07:55:14 +02: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;
|
|
|
|
videoDrivers = [ "nvidia" ];
|
|
|
|
};
|
|
|
|
|
2023-07-06 13:29:55 +02:00
|
|
|
services.xserver = {
|
2023-07-06 13:52:34 +02:00
|
|
|
displayManager.gdm.enable = true;
|
2023-07-06 13:56:47 +02:00
|
|
|
desktopManager.plasma5.enable = true;
|
2023-07-06 13:20:12 +02:00
|
|
|
};
|
|
|
|
}
|