lifebook: make suspend work, DSDT override
This commit is contained in:
parent
3060cbfb77
commit
16c6d9e907
@ -30,6 +30,7 @@
|
|||||||
|
|
||||||
boot = { # Boot options
|
boot = { # Boot options
|
||||||
kernelPackages = pkgs.linuxPackages_latest;
|
kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
initrd.prepend = [ "${/boot/patched-SSDT4}" ];
|
||||||
|
|
||||||
loader = { # EFI Boot
|
loader = { # EFI Boot
|
||||||
systemd-boot.enable = lib.mkForce false;
|
systemd-boot.enable = lib.mkForce false;
|
||||||
@ -46,10 +47,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# hardware.sane = { # Used for scanning with Xsane
|
|
||||||
# enable = false;
|
|
||||||
# extraBackends = [ pkgs.sane-airscan ];
|
|
||||||
# };
|
|
||||||
hardware = {
|
hardware = {
|
||||||
nitrokey.enable = true;
|
nitrokey.enable = true;
|
||||||
};
|
};
|
||||||
@ -85,10 +82,4 @@
|
|||||||
#tailscale.enable = true;
|
#tailscale.enable = true;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#temporary bluetooth fix
|
|
||||||
# systemd.tmpfiles.rules = [
|
|
||||||
# "d /var/lib/bluetooth 700 root root - -"
|
|
||||||
# ];
|
|
||||||
# systemd.targets."bluetooth".after = ["systemd-tmpfiles-setup.service"];
|
|
||||||
}
|
}
|
||||||
|
@ -42,11 +42,6 @@
|
|||||||
|
|
||||||
zramSwap.enable = true;
|
zramSwap.enable = true;
|
||||||
|
|
||||||
# powerManagement = {
|
|
||||||
# powerDownCommands = "${pkgs.kmod}/bin/rmmod intel_lpss_pci";
|
|
||||||
# resumeCommands = "${pkgs.kmod}/bin/modprobe intel_lpss_pci";
|
|
||||||
# };
|
|
||||||
|
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
btrfs.autoScrub = {
|
btrfs.autoScrub = {
|
||||||
|
BIN
hosts/lifebook/patched-SSDT4
Executable file
BIN
hosts/lifebook/patched-SSDT4
Executable file
Binary file not shown.
Loading…
Reference in New Issue
Block a user