mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 04:13:55 -05:00
hypridle: fixed hostname cmd not referencing nix store version
This commit is contained in:
parent
201754279d
commit
1e8586a5eb
|
@ -43,7 +43,7 @@
|
||||||
|
|
||||||
listener {
|
listener {
|
||||||
timeout = 900 # 15min
|
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
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue