nixos/configuration/Vanguard.nix
Evie Litherland-Smith 4a18a87bca Move separate games.nix into Vanguard.nix
Move extra packages (lutris, prismlauncher, etc...) to home-manager
since they don't need to be in nixos config
2024-05-21 19:24:24 +01:00

29 lines
636 B
Nix

{config, ...}: {
imports = [./desktop.nix];
boot = {
initrd.kernelModules = ["amdgpu"];
extraModulePackages = with config.boot.kernelPackages; [v4l2loopback];
extraModprobeConfig = ''
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
'';
};
hardware = {
opengl = {
driSupport = true;
driSupport32Bit = true;
};
steam-hardware.enable = true;
};
services.ollama.enable = true;
programs = {
gamescope = {
enable = true;
capSysNice = true;
};
steam = {
enable = true;
remotePlay.openFirewall = true;
};
};
}