Update AMD laptop
This commit is contained in:
parent
a4f435420e
commit
373df94ffe
3 changed files with 7 additions and 9 deletions
|
@ -21,7 +21,6 @@
|
|||
background-position: center;
|
||||
background-size: 25%;
|
||||
}
|
||||
|
||||
button:active, button:hover {
|
||||
background-color: #${config.lib.stylix.colors.base08};
|
||||
outline-style: none;
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
enable = true;
|
||||
settings = {
|
||||
# Specific to the Framework, since I have it limited to 80% charge in the BIOS
|
||||
START_CHARGE_THRESH_BAT0 = 70;
|
||||
STOP_CHARGE_THRESH_BAT0 = 79;
|
||||
# START_CHARGE_THRESH_BAT0 = 70;
|
||||
# STOP_CHARGE_THRESH_BAT0 = 79;
|
||||
|
||||
CPU_BOOST_ON_BAT = 0;
|
||||
CPU_HWP_DYN_BOOST_ON_BAT = 0;
|
||||
|
|
|
@ -9,23 +9,22 @@
|
|||
../../common/services/powertop.nix
|
||||
../../common/services/fwupd.nix
|
||||
../../common/services/podman.nix
|
||||
../../common/services/tlp.nix
|
||||
];
|
||||
|
||||
# steam , etc
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "thunderbolt" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "thunderbolt" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" "acpi_call" ];
|
||||
boot.extraModulePackages = with config.boot.kernelPackages; [ acpi_call ];
|
||||
boot.kernelModules = [ "kvm-amd" "acpi_call" ];
|
||||
# boot.extraModulePackages = with config.boot.kernelPackages; [ acpi_call ];
|
||||
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
||||
hardware.keyboard.zsa.enable = true;
|
||||
|
||||
# hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
|
||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enbleRedistributableFirmware;
|
||||
# Set your time zone.
|
||||
time.timeZone = "Asia/Tokyo";
|
||||
|
||||
|
|
Loading…
Reference in a new issue