Skip to content

Commit

Permalink
treewide: switch to vendor gamescope-session
Browse files Browse the repository at this point in the history
  • Loading branch information
K900 committed Sep 24, 2023
1 parent 4de143e commit 3d3a5a4
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 447 deletions.
15 changes: 13 additions & 2 deletions modules/steam/autostart.nix
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,19 @@ in
displayManager.startx.enable = true;
};

jovian.steam.environment = {
JOVIAN_DESKTOP_SESSION = if cfg.desktopSession != null then cfg.desktopSession else "steam-wayland";
systemd.user.services.gamescope-session = {
overrideStrategy = "asDropin";

environment = lib.mkForce {
JOVIAN_DESKTOP_SESSION = cfg.desktopSession;
};

# upstream unit redirects to a file, but this seems unnecessary now?
# see https://github.com/Jovian-Experiments/PKGBUILDs-mirror/blob/76aa4a564094dc656aa1b1daa0f116a7b93b0d7b/gamescope-session.service#L10
serviceConfig = {
StandardOutput = "journal";
StandardError = "journal";
};
};

services.greetd = {
Expand Down
Loading

0 comments on commit 3d3a5a4

Please sign in to comment.