Skip to content

Commit

Permalink
hypridle: package set to flake output
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Mar 13, 2024
1 parent 716808f commit df034a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/home/desktop/addons/hypridle/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
, lib
, options
, pkgs
, system
, ...
}:
let
Expand All @@ -23,7 +24,7 @@ in
config = mkIf cfg.enable {
services.hypridle = {
enable = true;
package = pkgs.hypridle;
package = hypridle.packages.${system}.hypridle;

lockCmd = "${getExe config.programs.hyprlock.package}";
afterSleepCmd = "${getExe' config.wayland.windowManager.hyprland.package "hyprctl"} dispatch dpms on";
Expand Down

0 comments on commit df034a7

Please sign in to comment.