feat(hw): change systemd-boot settings and ryzen stuff
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-02-17 14:52:43 -05:00
parent 271e07b08a
commit 83afadfe78
4 changed files with 32 additions and 6 deletions

View file

@ -10,10 +10,16 @@
boot = {
kernelPackages = pkgs.linuxPackages_zen;
kernelParams = ["amd_pstate=active"];
kernelModules = ["kvm-amd"];
# Zenpower for ryzen cpu monitoring
extraModulePackages = with config.boot.kernelPackages; [
v4l2loopback
zenpower
];
blacklistedKernelModules = ["k10temp"];
supportedFilesystems = ["ntfs"];
@ -28,7 +34,12 @@
loader = {
efi.canTouchEfiVariables = true;
timeout = 2;
systemd-boot.enable = true;
systemd-boot = {
enable = true;
consoleMode = "max";
configurationLimit = 30;
};
};
};

View file

@ -8,10 +8,14 @@
boot = {
loader = {
efi.canTouchEfiVariables = true;
timeout = 2;
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
systemd-boot = {
enable = true;
consoleMode = "max";
configurationLimit = 30;
};
};
initrd.availableKernelModules = [

View file

@ -8,9 +8,15 @@
imports = [(modulesPath + "/installer/scan/not-detected.nix")];
boot = {
kernelPackages = pkgs.linuxPackages_latest;
kernelPackages = pkgs.linuxPackages_zen;
kernelParams = ["amd_pstate=active"];
kernelModules = ["kvm-amd"];
# Zenpower for ryzen cpu monitoring
extraModulePackages = with config.boot.kernelPackages; [zenpower];
blacklistedKernelModules = ["k10temp"];
initrd.availableKernelModules = [
"nvme"
"xhci_pci"
@ -21,10 +27,14 @@
];
loader = {
efi.canTouchEfiVariables = true;
timeout = 2;
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
systemd-boot = {
enable = true;
consoleMode = "max";
configurationLimit = 30;
};
};
};

View file

@ -31,6 +31,7 @@
systemd-boot = {
enable = true;
consoleMode = "max";
configurationLimit = 30;
};
};