Compare commits

..

No commits in common. "3b5cf11ce7ef8482a12fe2fe15607a8af5ce2907" and "0120a1b8c3afb18f31280ff082ac0dbbfe8ce0e9" have entirely different histories.

3 changed files with 25 additions and 18 deletions

View file

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

View file

@ -59,7 +59,6 @@
(old: {passthru.providedSessions = ["sway"];});
wrapperFeatures.gtk = true;
};
xwayland.enable = true;
};
gtk.iconCache.enable = true;
qt = {

21
configuration/games.nix Normal file
View file

@ -0,0 +1,21 @@
{pkgs, ...}: {
environment.systemPackages = with pkgs; [
lutris
prismlauncher
(retroarch.override {
cores = with libretro; [dolphin mgba mupen64plus];
})
];
hardware.steam-hardware.enable = true;
programs = {
xwayland.enable = true;
gamescope = {
enable = true;
capSysNice = true;
};
steam = {
enable = true;
remotePlay.openFirewall = true;
};
};
}