mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-22 00:21:34 +01:00
Suspend after 20 minutes idle
This commit is contained in:
parent
dad842d2da
commit
b82decfe2b
1 changed files with 4 additions and 0 deletions
|
|
@ -39,6 +39,10 @@
|
||||||
timeout = 610;
|
timeout = 610;
|
||||||
on-timeout = "loginctl lock-session";
|
on-timeout = "loginctl lock-session";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
timeout = 1800;
|
||||||
|
on-timeout = "lock-suspend";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue