47 lines
836 B
Nix
47 lines
836 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;
|
|
};
|
|
}
|