mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
Add tungsten (#9)
Reviewed-on: https://codeberg.org/leana8959/.files/pulls/9 Co-authored-by: Léana 江 <leana.jiang+git@icloud.com> Co-committed-by: Léana 江 <leana.jiang+git@icloud.com>
This commit is contained in:
parent
1848be039a
commit
b20a752858
41 changed files with 1749 additions and 43 deletions
11
nix/configurations/tungsten/nixos/battery.nix
Normal file
11
nix/configurations/tungsten/nixos/battery.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
systemd.sleep.extraConfig = ''
|
||||
HibernateDelaySec=1d
|
||||
'';
|
||||
|
||||
services.logind = {
|
||||
powerKey = "hibernate";
|
||||
lidSwitch = "suspend-then-hibernate";
|
||||
lidSwitchDocked = "ignore";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue