mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-07 07:09:15 +00:00
tungsten: copy config from vanadium
This commit is contained in:
parent
f41d27ebff
commit
b17c3d9251
21 changed files with 1568 additions and 0 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