All checks were successful
Check flake / build-amd64-linux (push) Successful in 1m42s
35 lines
638 B
Nix
35 lines
638 B
Nix
{
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
home.packages = with pkgs; [
|
|
gamescope
|
|
steam
|
|
];
|
|
|
|
home.persistence."/persist".directories = [
|
|
".config/gamescope"
|
|
".local/share/Steam"
|
|
".local/share/vulkan"
|
|
".steam"
|
|
];
|
|
|
|
systemd.user.services.steam-big-picture = {
|
|
Unit = {
|
|
Description = "Steam Big Picture in Gamescope";
|
|
After = [
|
|
"graphical.target"
|
|
"default.target"
|
|
];
|
|
};
|
|
Service = {
|
|
ExecStart = ''
|
|
${pkgs.gamescope}/bin/gamescope --rt --backend drm --steam -- \
|
|
${pkgs.steam}/bin/steam -pipewire-dmabuf -tenfoot
|
|
'';
|
|
Restart = "always";
|
|
};
|
|
};
|
|
}
|