fix: battery not showing up
This commit is contained in:
parent
509d173c1b
commit
237917a27f
1 changed files with 11 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ in
|
|||
# boot.kernelPackages = pkgs.linuxPackages_6_6; # normally set by nixos-hardware
|
||||
|
||||
# Extra kernel modules
|
||||
boot.kernelModules = [ "hid-microsoft" ];
|
||||
boot.kernelModules = [ "hid-microsoft" "battery" "ac" ];
|
||||
|
||||
# Initrd modules — required for Surface hardware to function
|
||||
boot.initrd.kernelModules = [
|
||||
|
|
@ -56,6 +56,16 @@ in
|
|||
"8250_dw"
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
#for camera
|
||||
libcamera
|
||||
|
||||
# for Battery
|
||||
tlp
|
||||
upower
|
||||
acpi
|
||||
];
|
||||
|
||||
# IPTSd not required — touchscreen and pen work via HID
|
||||
services.iptsd.enable = lib.mkForce false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue