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-position: center;
|
||||||
background-size: 25%;
|
background-size: 25%;
|
||||||
}
|
}
|
||||||
|
|
||||||
button:active, button:hover {
|
button:active, button:hover {
|
||||||
background-color: #${config.lib.stylix.colors.base08};
|
background-color: #${config.lib.stylix.colors.base08};
|
||||||
outline-style: none;
|
outline-style: none;
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
# Specific to the Framework, since I have it limited to 80% charge in the BIOS
|
# Specific to the Framework, since I have it limited to 80% charge in the BIOS
|
||||||
START_CHARGE_THRESH_BAT0 = 70;
|
# START_CHARGE_THRESH_BAT0 = 70;
|
||||||
STOP_CHARGE_THRESH_BAT0 = 79;
|
# STOP_CHARGE_THRESH_BAT0 = 79;
|
||||||
|
|
||||||
CPU_BOOST_ON_BAT = 0;
|
CPU_BOOST_ON_BAT = 0;
|
||||||
CPU_HWP_DYN_BOOST_ON_BAT = 0;
|
CPU_HWP_DYN_BOOST_ON_BAT = 0;
|
||||||
|
|
|
@ -9,23 +9,22 @@
|
||||||
../../common/services/powertop.nix
|
../../common/services/powertop.nix
|
||||||
../../common/services/fwupd.nix
|
../../common/services/fwupd.nix
|
||||||
../../common/services/podman.nix
|
../../common/services/podman.nix
|
||||||
|
../../common/services/tlp.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# steam , etc
|
# steam , etc
|
||||||
nixpkgs.config.allowUnfree = true;
|
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.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ "kvm-intel" "acpi_call" ];
|
boot.kernelModules = [ "kvm-amd" "acpi_call" ];
|
||||||
boot.extraModulePackages = with config.boot.kernelPackages; [ acpi_call ];
|
# boot.extraModulePackages = with config.boot.kernelPackages; [ acpi_call ];
|
||||||
|
|
||||||
networking.useDHCP = lib.mkDefault true;
|
networking.useDHCP = lib.mkDefault true;
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
||||||
hardware.keyboard.zsa.enable = true;
|
hardware.keyboard.zsa.enable = true;
|
||||||
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enbleRedistributableFirmware;
|
||||||
# hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
||||||
|
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "Asia/Tokyo";
|
time.timeZone = "Asia/Tokyo";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue