mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
feat: update laptop config
This commit is contained in:
parent
d769b830a2
commit
623d8c9576
16 changed files with 117 additions and 105 deletions
9
modules/system/battery.nix
Normal file
9
modules/system/battery.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
config = lib.mkIf config.fireproof.hardware.battery {
|
||||
services.upower.enable = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue