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];
|
imports = [./laptop.nix];
|
||||||
boot = {
|
boot = {
|
||||||
|
initrd.kernelModules = ["amdgpu"];
|
||||||
extraModulePackages = with config.boot.kernelPackages; [v4l2loopback];
|
extraModulePackages = with config.boot.kernelPackages; [v4l2loopback];
|
||||||
extraModprobeConfig = ''
|
extraModprobeConfig = ''
|
||||||
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
|
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
|
||||||
|
|
|
@ -15,14 +15,8 @@
|
||||||
steam-hardware.enable = true;
|
steam-hardware.enable = true;
|
||||||
};
|
};
|
||||||
services.ollama.enable = true;
|
services.ollama.enable = true;
|
||||||
programs = {
|
programs.steam = {
|
||||||
gamescope = {
|
enable = true;
|
||||||
enable = true;
|
remotePlay.openFirewall = true;
|
||||||
capSysNice = true;
|
|
||||||
};
|
|
||||||
steam = {
|
|
||||||
enable = true;
|
|
||||||
remotePlay.openFirewall = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -62,6 +62,10 @@
|
||||||
(old: {passthru.providedSessions = ["sway"];});
|
(old: {passthru.providedSessions = ["sway"];});
|
||||||
wrapperFeatures.gtk = true;
|
wrapperFeatures.gtk = true;
|
||||||
};
|
};
|
||||||
|
gamescope = {
|
||||||
|
enable = true;
|
||||||
|
capSysNice = true;
|
||||||
|
};
|
||||||
xwayland.enable = true;
|
xwayland.enable = true;
|
||||||
};
|
};
|
||||||
gtk.iconCache.enable = true;
|
gtk.iconCache.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue