mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-02-14 11:20:19 +01:00
25 lines
587 B
Nix
25 lines
587 B
Nix
{ pkgs, lib, ... }:
|
|
{
|
|
nixpkgs.config = {
|
|
allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ ];
|
|
};
|
|
|
|
programs.steam = {
|
|
enable = true;
|
|
remotePlay.openFirewall = true;
|
|
dedicatedServer.openFirewall = true;
|
|
extraCompatPackages = with pkgs; [ proton-ge-bin ];
|
|
};
|
|
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";
|
|
};
|
|
};
|
|
}
|