mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -07:00
res
This commit is contained in:
parent
5bbcc50e70
commit
f4ae9e1e5b
1 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
config,
|
||||
osConfig,
|
||||
pkgs,
|
||||
inputs,
|
||||
unstablePkgs,
|
||||
|
|
@ -267,7 +268,7 @@
|
|||
on-resume = "hyprctl dispatch dpms on";
|
||||
}
|
||||
# Suspend the laptop after 30 minutes, but NOT the desktop
|
||||
(lib.mkIf (config.networking.hostName != "death-pc") {
|
||||
(lib.mkIf (osConfig.networking.hostName != "death-pc") {
|
||||
timeout = 2800;
|
||||
on-timeout = "systemctl suspend";
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue