Add steam service enabled on start
Didn't really work, I think.
This commit is contained in:
parent
a27113613a
commit
44d8f7de40
|
@ -110,6 +110,16 @@
|
||||||
desktopManager.gnome.enable = true;
|
desktopManager.gnome.enable = true;
|
||||||
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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue