All checks were successful
Check flake / build-amd64-linux (push) Successful in 1m22s
31 lines
560 B
Nix
31 lines
560 B
Nix
{
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
home.packages = with pkgs; [
|
|
gamescope
|
|
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";
|
|
};
|
|
Install = {
|
|
WantedBy = [ "default.target" ];
|
|
};
|
|
};
|
|
}
|