nixos-config/nixos/shared/graphical.nix
2024-08-25 17:53:55 +02:00

49 lines
881 B
Nix

{ pkgs, ... }:
{
# [DESKTOP / XORG / WAYLAND]
services.libinput = {
enable = true;
touchpad = {
naturalScrolling = true;
accelProfile = "flat" ;
tapping = false;
};
};
services.xserver = {
enable = true;
displayManager.startx.enable = true;
};
services.desktopManager.plasma6.enable = true;
# [SOUND]
sound.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa = {
enable = true;
support32Bit = true;
};
pulse.enable = true;
jack.enable = true;
wireplumber.enable = true;
};
programs.gamemode = {
enable = true;
settings.general.renice = 20;
};
nixpkgs.config.allowUnfree = true;
programs.steam.enable = true;
ssbm.gcc = {
rules.enable = true;
oc-kmod.enable = true;
};
hardware.logitech.wireless.enable = true;
}