Add service to start steam in the background.
I'm actually also starting Steam in big picture mode through the steam configuration UI on this system, so this may be redundant, but I'm adding it anyway.
This commit is contained in:
parent
dec120533b
commit
d7d81564e3
|
@ -109,6 +109,17 @@
|
|||
systemd.network.enable = true;
|
||||
systemd.network.wait-online.enable = false;
|
||||
|
||||
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";
|
||||
};
|
||||
};
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "America/Phoenix";
|
||||
|
||||
|
|
Loading…
Reference in New Issue