mirror of
https://github.com/kmein/niveum
synced 2026-03-17 02:31:09 +01:00
chore: organize battery, steam and praesenzlehre into imports
This commit is contained in:
@@ -5,24 +5,9 @@ in
|
||||
{
|
||||
imports = [
|
||||
<niveum/configs/default.nix>
|
||||
<niveum/configs/battery.nix>
|
||||
./hardware-configuration.nix
|
||||
<stockholm/krebs/2configs/hw/x220.nix>
|
||||
{
|
||||
boot.extraModulePackages = with config.boot.kernelPackages; [
|
||||
tp_smapi
|
||||
acpi_call
|
||||
];
|
||||
boot.kernelModules = [ "tp_smapi" "acpi_call" ];
|
||||
environment.systemPackages = [ pkgs.tpacpi-bat ];
|
||||
|
||||
services.tlp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
START_CHARGE_THRESH_BAT0 = 80;
|
||||
STOP_CHARGE_THRESH_BAT0 = 95;
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
|
||||
niveum = {
|
||||
|
||||
Reference in New Issue
Block a user