mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-18 08:59:39 +00:00
iron: init
add installer for macbook-pro-2009 repurpose tungsten disko config for iron installer-macbook-pro-2009: enable b43 driver README: document how to wipe filesystem iron: generate hardware-configuration iron: discard unused modules iron: include macbook specific modules iron: remove custom fs configurations
This commit is contained in:
parent
1e63c7bb53
commit
99b1dda7ba
19 changed files with 761 additions and 1 deletions
11
nix/configurations/iron/nixos/battery.nix
Normal file
11
nix/configurations/iron/nixos/battery.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
systemd.sleep.extraConfig = ''
|
||||
HibernateDelaySec=1d
|
||||
'';
|
||||
|
||||
services.logind = {
|
||||
powerKey = "hibernate";
|
||||
lidSwitch = "suspend-then-hibernate"; # won't happen there's no battery anyway
|
||||
lidSwitchDocked = "ignore";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue