diff --git a/hosts/lifebook/default.nix b/hosts/lifebook/default.nix index 1a2441e..840cb93 100644 --- a/hosts/lifebook/default.nix +++ b/hosts/lifebook/default.nix @@ -30,6 +30,7 @@ boot = { # Boot options kernelPackages = pkgs.linuxPackages_latest; + initrd.prepend = [ "${/boot/patched-SSDT4}" ]; loader = { # EFI Boot systemd-boot.enable = lib.mkForce false; @@ -46,10 +47,6 @@ }; }; -# hardware.sane = { # Used for scanning with Xsane -# enable = false; -# extraBackends = [ pkgs.sane-airscan ]; -# }; hardware = { nitrokey.enable = true; }; @@ -85,10 +82,4 @@ #tailscale.enable = true; }; - - #temporary bluetooth fix -# systemd.tmpfiles.rules = [ -# "d /var/lib/bluetooth 700 root root - -" -# ]; -# systemd.targets."bluetooth".after = ["systemd-tmpfiles-setup.service"]; } diff --git a/hosts/lifebook/hardware-configuration.nix b/hosts/lifebook/hardware-configuration.nix index 3dec080..a22927f 100644 --- a/hosts/lifebook/hardware-configuration.nix +++ b/hosts/lifebook/hardware-configuration.nix @@ -42,11 +42,6 @@ zramSwap.enable = true; -# powerManagement = { -# powerDownCommands = "${pkgs.kmod}/bin/rmmod intel_lpss_pci"; -# resumeCommands = "${pkgs.kmod}/bin/modprobe intel_lpss_pci"; -# }; - services = { btrfs.autoScrub = { diff --git a/hosts/lifebook/patched-SSDT4 b/hosts/lifebook/patched-SSDT4 new file mode 100755 index 0000000..95ce879 Binary files /dev/null and b/hosts/lifebook/patched-SSDT4 differ