From 1e8586a5eb49fe4c8572be32613e9e1892b8922f Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Mon, 1 Apr 2024 14:36:34 -0400 Subject: [PATCH] hypridle: fixed hostname cmd not referencing nix store version --- homeManagerModules/desktopEnv/hypr/hypridle/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeManagerModules/desktopEnv/hypr/hypridle/default.nix b/homeManagerModules/desktopEnv/hypr/hypridle/default.nix index f1a25295..9aed8c99 100644 --- a/homeManagerModules/desktopEnv/hypr/hypridle/default.nix +++ b/homeManagerModules/desktopEnv/hypr/hypridle/default.nix @@ -43,7 +43,7 @@ listener { timeout = 900 # 15min - on-timeout = grep [[ $(hostname) != "mauville" ]] && ${pkgs.systemd}/bin/systemctl suspend # suspend pc unless on mauville + on-timeout = grep [[ $(${pkgs.nettools}/bin/hostname) != "mauville" ]] && ${pkgs.systemd}/bin/systemctl suspend # suspend pc unless on mauville } ''; };