Nixfiles/gaming/nixos.nix
2023-04-17 20:43:19 +02:00

22 lines
438 B
Nix

{pkgs, ...}: {
nixpkgs.config = {
allowUnfree = true;
};
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
};
hardware.steam-hardware.enable = true;
boot.kernelPackages = pkgs.linuxPackages_xanmod_latest;
security.wrappers = {
gamescope = {
owner = "root";
group = "root";
source = "${pkgs.gamescope}/bin/gamescope";
capabilities = "cap_sys_nice+ep";
};
};
}