1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +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

@@ -7,21 +7,10 @@
imports = [ # Include the results of the hardware scan.
./hardware-configuration.nix
<niveum/configs/default.nix>
<niveum/configs/battery.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;
};
};
programs.steam.enable = true;
nixpkgs.config.steam.java = true;
}
];
@@ -48,9 +37,6 @@
ipv6 = "42:0:3c46:ac99:ae36:cb8:c551:ba27";
};
programs.steam.enable = true;
nixpkgs.config.steam.java = true;
networking.hostName = "manakish";
system.stateVersion = "20.09"; # Did you read the comment?