hypridle: fixed hostname cmd not referencing nix store version

This commit is contained in:
Aly Raffauf 2024-04-01 14:36:34 -04:00
parent 201754279d
commit 1e8586a5eb

View file

@ -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
}
'';
};