add(systemd): battery charge limitor

This commit is contained in:
Léana 江 2023-12-27 10:23:38 +01:00 committed by Léana 江
parent 14d4090ed3
commit ef2ab82bf6
2 changed files with 28 additions and 8 deletions

View file

@ -1,6 +1,16 @@
{pkgs, ...}: {
system.stateVersion = "23.11";
imports = [
./hardware-configuration.nix
./battery.nix
./gui.nix
./locale.nix
./networking.nix
./packages.nix
];
boot.loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
@ -22,14 +32,6 @@
};
hardware.pulseaudio.enable = true;
imports = [
./hardware-configuration.nix
./locale.nix
./networking.nix
./packages.nix
./gui.nix
];
nix = {
package = pkgs.nixFlakes;