From ff72251ce623969dd4cdcf970ac5b18b7bc5bd9e Mon Sep 17 00:00:00 2001 From: iFargle Date: Thu, 1 Feb 2024 12:19:01 +0900 Subject: [PATCH] Adjust nixos-framework config --- nixos/hosts/nixos-framework/default.nix | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/nixos/hosts/nixos-framework/default.nix b/nixos/hosts/nixos-framework/default.nix index 4aa189d5..6e855564 100644 --- a/nixos/hosts/nixos-framework/default.nix +++ b/nixos/hosts/nixos-framework/default.nix @@ -3,12 +3,12 @@ inputs.nixos-hardware.nixosModules.framework-13-7040-amd (modulesPath + "/installer/scan/not-detected.nix") ./disks.nix - ./hibernate.nix + # ./hibernate.nix ../../common/services/tailscale-autoconnect.nix ../../common/modules/secureboot.nix ../../common/modules/udev-rules.nix ../../common/modules/ssh-luks.nix - ../../common/services/tlp.nix + # ../../common/services/tlp.nix ]; services.fwupd.enable = true; @@ -20,11 +20,10 @@ inherit (pkgs) system; }).fwupd; - powerManagement.enable = true; - - boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "thunderbolt" ]; - boot.initrd.kernelModules = [ "amdgpu" ]; - boot.kernelModules = [ "kvm-amd" "acpi_call" ]; + boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "uas" "sd_mod" ]; + boot.initrd.kernelModules = [ "dm-snapshot" ]; + boot.kernelModules = [ "kvm-amd" ]; + boot.extraModulePackages = [ ]; boot.kernelPackages = pkgs.linuxPackages_latest; # boot.extraModulePackages = with config.boot.kernelPackages; [ acpi_call ];