Files
nix-config/users/guest/common/optional/graphical/steam.nix
Jordan Holt c5bfed5a84
All checks were successful
Check flake / build-amd64-linux (push) Successful in 1m42s
users/guest: adjust jellyfin-media-player
2025-09-28 22:55:26 +01:00

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