users/guest: init and add steam
All checks were successful
Check flake / build-amd64-linux (push) Successful in 1m22s

This commit is contained in:
2025-08-22 21:04:58 +01:00
parent 269e9d20bf
commit df7d5f3f93
4 changed files with 103 additions and 4 deletions

View File

@@ -0,0 +1,30 @@
{
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" ];
};
};
}