Add steam service enabled on start

Didn't really work, I think.
This commit is contained in:
Eli Ribble 2025-04-13 18:14:07 +00:00
parent a27113613a
commit 44d8f7de40
1 changed files with 10 additions and 0 deletions

View File

@ -110,6 +110,16 @@
desktopManager.gnome.enable = true;
enable = true;
};
systemd.user.services.steam = {
enable = true;
description = "Open Steam in the background at boot";
serviceConfig = {
ExecStart = "${pkgs.steam}/bin/steam -nochatui -nofriendsui -silent %U";
wantedBy = [ "graphical-session.target" ];
Restart = "on-failure";
RestartSec = "5s";
};
};