47 lines
829 B
Nix
47 lines
829 B
Nix
|
{ pkgs, ... }:
|
||
|
{
|
||
|
# [DESKTOP / XORG / WAYLAND]
|
||
|
services.libinput = {
|
||
|
enable = true;
|
||
|
touchpad = {
|
||
|
naturalScrolling = true;
|
||
|
accelProfile = "flat" ;
|
||
|
tapping = false;
|
||
|
};
|
||
|
};
|
||
|
services.xserver = {
|
||
|
enable = true;
|
||
|
desktopManager.plasma5.enable = true;
|
||
|
displayManager.startx.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;
|
||
|
};
|
||
|
}
|