mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-26 09:31:54 -05:00
pacifidlog: kernel optimizations + qol improvements (#122)
Some checks are pending
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / pacifidlog-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-build / slateport-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
Some checks are pending
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / pacifidlog-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-build / slateport-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
* pacifidlog: use xanmod kernel * pacifidlog: add heroic and lutris * legion go: use zenpower * legion go: fix boot params * common/cpu/amd: remove redundant(?) amd_pstate=active param
This commit is contained in:
parent
7e3dee6e03
commit
1e41b73fb2
|
@ -47,7 +47,11 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
systemPackages = [hhd-ui];
|
systemPackages = [
|
||||||
|
hhd-ui
|
||||||
|
pkgs.heroic
|
||||||
|
pkgs.lutris
|
||||||
|
];
|
||||||
|
|
||||||
variables = {
|
variables = {
|
||||||
FLAKE = lib.mkForce "github:alyraffauf/nixcfg/24.11";
|
FLAKE = lib.mkForce "github:alyraffauf/nixcfg/24.11";
|
||||||
|
|
|
@ -1,9 +1,5 @@
|
||||||
{lib, ...}: {
|
{lib, ...}: {
|
||||||
boot = {
|
boot.kernelModules = ["kvm-amd"];
|
||||||
kernelModules = ["kvm-amd"];
|
|
||||||
kernelParams = ["amd_pstate=active"];
|
|
||||||
};
|
|
||||||
|
|
||||||
hardware.cpu.amd.updateMicrocode = true;
|
hardware.cpu.amd.updateMicrocode = true;
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,12 +14,25 @@
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
initrd = {
|
initrd = {
|
||||||
availableKernelModules = ["nvme" "sdhci_pci" "thunderbolt" "usb_storage" "usbhid" "xhci_pci"];
|
availableKernelModules = [
|
||||||
|
"amdgpu"
|
||||||
|
"nvme"
|
||||||
|
"rtsx_pci_sdmmc"
|
||||||
|
"sd_mod"
|
||||||
|
"sdhci_pci"
|
||||||
|
"thunderbolt"
|
||||||
|
"usb_storage"
|
||||||
|
"usbhid"
|
||||||
|
"xhci_pci"
|
||||||
|
];
|
||||||
|
|
||||||
kernelModules = ["amdgpu"];
|
kernelModules = ["amdgpu"];
|
||||||
};
|
};
|
||||||
|
|
||||||
extraModulePackages = with config.boot.kernelPackages; [acpi_call];
|
blacklistedKernelModules = ["k10temp"];
|
||||||
kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
|
extraModulePackages = with config.boot.kernelPackages; [acpi_call zenpower];
|
||||||
|
kernelModules = ["zenpower"];
|
||||||
|
kernelPackages = lib.mkDefault pkgs.linuxPackages_xanmod_latest;
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
|
|
Loading…
Reference in a new issue