diff --git a/thenix/etc/nixos/configuration.nix b/thenix/etc/nixos/configuration.nix index 517822a..ab8eb39 100644 --- a/thenix/etc/nixos/configuration.nix +++ b/thenix/etc/nixos/configuration.nix @@ -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";