Enable gamescope wayland/xwayland shell in desktop.nix by default

This commit is contained in:
Evie Litherland-Smith 2024-05-27 19:18:30 +01:00
parent eb706990f7
commit eaf256511d
3 changed files with 8 additions and 9 deletions

View file

@ -5,6 +5,7 @@
}: {
imports = [./laptop.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

View file

@ -15,14 +15,8 @@
steam-hardware.enable = true;
};
services.ollama.enable = true;
programs = {
gamescope = {
enable = true;
capSysNice = true;
};
steam = {
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
};
};
}

View file

@ -62,6 +62,10 @@
(old: {passthru.providedSessions = ["sway"];});
wrapperFeatures.gtk = true;
};
gamescope = {
enable = true;
capSysNice = true;
};
xwayland.enable = true;
};
gtk.iconCache.enable = true;