mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-12 11:17:17 +00:00
27 lines
494 B
Nix
27 lines
494 B
Nix
{
|
|
pkgs,
|
|
globals,
|
|
...
|
|
}: {
|
|
services.pipewire = {
|
|
enable = true;
|
|
alsa.enable = true;
|
|
alsa.support32Bit = true;
|
|
pulse.enable = true;
|
|
};
|
|
|
|
services.printing.enable = true;
|
|
|
|
hardware.pulseaudio.enable = false;
|
|
|
|
security.rtkit.enable = true;
|
|
|
|
services.xserver = {
|
|
layout = globals.keyboard.layout;
|
|
libinput.mouse.naturalScrolling = true;
|
|
libinput.touchpad.naturalScrolling = true;
|
|
xkbVariant = globals.keyboard.variant;
|
|
};
|
|
|
|
sound.enable = true;
|
|
}
|