Working
This commit is contained in:
parent
bc1347a224
commit
270252e5f8
19 changed files with 178 additions and 84 deletions
13
modules/battery/default.nix
Normal file
13
modules/battery/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{config, ...}: {
|
||||
services.tlp.enable = true;
|
||||
|
||||
services.upower.enable = true;
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(self: super: {
|
||||
tlp = super.tlp.override {
|
||||
enableRDW = config.networkmanager.enable;
|
||||
};
|
||||
})
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue