34 lines
878 B
Nix
34 lines
878 B
Nix
{ ... }: {
|
|
# KDE Plasma — desktop environment
|
|
services.xserver.enable = true;
|
|
services.displayManager.sddm.enable = true;
|
|
services.desktopManager.plasma6.enable = true;
|
|
|
|
# SDDM tastaturlayout — drop-in config for at sikre dk uanset backend
|
|
# environment.etc."sddm.conf.d/99-keyboard.conf".text = ''
|
|
# [Input]
|
|
# Keyboard.layout=dk
|
|
# Keyboard.variant=
|
|
# '';
|
|
environment.etc."X11/xorg.conf.d/00-keyboard.conf".text = ''
|
|
Section "InputClass"
|
|
Identifier "system-keyboard"
|
|
MatchIsKeyboard "on"
|
|
Option "XkbLayout" "dk"
|
|
Option "XkbModel" "pc105"
|
|
EndSection
|
|
'';
|
|
|
|
# Lyd
|
|
services.pulseaudio.enable = false;
|
|
security.rtkit.enable = true;
|
|
services.pipewire = {
|
|
enable = true;
|
|
alsa.enable = true;
|
|
alsa.support32Bit = true;
|
|
pulse.enable = true;
|
|
};
|
|
|
|
# Printing
|
|
services.printing.enable = true;
|
|
} |