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 23, 2023
1 parent 241fd5f commit 1875b07
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 447 deletions.
14 changes: 12 additions & 2 deletions modules/steam/autostart.nix
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,18 @@ 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?
serviceConfig = {
StandardOutput = "journal";
StandardError = "journal";
};
};

services.greetd = {
Expand Down
Loading

0 comments on commit 1875b07

Please sign in to comment.