Skip to content

Commit

Permalink
desktop: add hypr-session.target
Browse files Browse the repository at this point in the history
This controls the user session and starts graphical-session.target.

The compositor must start this target itself.
  • Loading branch information
Atemu committed Oct 10, 2024
1 parent 0a23cce commit 082af51
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/desktop/module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ in

programs.hyprland.enable = this.hypr.enable;
services.hypridle.enable = this.hypr.enable;
systemd.user.targets.hypr-session = {
bindsTo = [ "graphical-session.target" ];
wants = [ "graphical-session-pre.target" ];
after = [ "graphical-session-pre.target" ];
};
};

services.xserver.desktopManager.gnome.enable = this.tablet;
environment.gnome.excludePackages = with pkgs; [
Expand Down

0 comments on commit 082af51

Please sign in to comment.