Skip to content

Commit

Permalink
nixos/hypridle: make hypridle start with graphical-session.target (#3…
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRTitor authored Oct 10, 2024
2 parents 9ae1f71 + 5eee20f commit 8396577
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nixos/modules/services/wayland/hypridle.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ in
config = lib.mkIf cfg.enable {
environment.systemPackages = [ cfg.package ];

systemd.packages = [ cfg.package ];
systemd = {
packages = [ cfg.package ];
user.services.hypridle.wantedBy = [ "graphical-session.target" ];
};
};

meta.maintainers = with lib.maintainers; [ johnrtitor ];
Expand Down

0 comments on commit 8396577

Please sign in to comment.