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

View file

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

View file

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

View file

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