Enable gamescope wayland/xwayland shell in desktop.nix by default
This commit is contained in:
parent
eb706990f7
commit
eaf256511d
|
@ -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
|
||||
|
|
|
@ -15,14 +15,8 @@
|
|||
steam-hardware.enable = true;
|
||||
};
|
||||
services.ollama.enable = true;
|
||||
programs = {
|
||||
gamescope = {
|
||||
enable = true;
|
||||
capSysNice = true;
|
||||
};
|
||||
steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
};
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -62,6 +62,10 @@
|
|||
(old: {passthru.providedSessions = ["sway"];});
|
||||
wrapperFeatures.gtk = true;
|
||||
};
|
||||
gamescope = {
|
||||
enable = true;
|
||||
capSysNice = true;
|
||||
};
|
||||
xwayland.enable = true;
|
||||
};
|
||||
gtk.iconCache.enable = true;
|
||||
|
|
Loading…
Reference in a new issue