Files
nix-config/users/guest/common/optional/graphical/steam.nix
Jordan Holt df7d5f3f93
All checks were successful
Check flake / build-amd64-linux (push) Successful in 1m22s
users/guest: init and add steam
2025-08-22 21:04:58 +01:00

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" ];
};
};
}