1
0
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:
2021-02-28 08:01:51 +01:00
parent 74b102e55e
commit cbb676bf00
4 changed files with 63 additions and 74 deletions

View File

@@ -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 = {