mirror of
https://github.com/JaxTheWolf/nixos.git
synced 2026-04-01 02:00:22 +02:00
Migrate some boot configs to hw config
This commit is contained in:
@@ -21,19 +21,6 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
initrd.kernelModules = [ ];
|
|
||||||
initrd.verbose = false;
|
|
||||||
kernelModules = [ "nct6683" "hid-logitech-dj" "hid-logiztech-hidpp" ];
|
|
||||||
blacklistedKernelModules = [ "k10temp" ];
|
|
||||||
kernelParams = [
|
|
||||||
"amdgpu.seamless=1"
|
|
||||||
"rd.udev.log_priority=3"
|
|
||||||
"vt.global_cursor_default=0"
|
|
||||||
];
|
|
||||||
kernelPackages = pkgs.linuxKernel.packages.linux_xanmod_latest;
|
|
||||||
extraModulePackages = with config.boot.kernelPackages; [
|
|
||||||
pkgs.linuxKernel.packages.linux_xanmod_latest.zenpower
|
|
||||||
];
|
|
||||||
loader = {
|
loader = {
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
systemd-boot = {
|
systemd-boot = {
|
||||||
|
|||||||
@@ -13,8 +13,11 @@
|
|||||||
imports = [
|
imports = [
|
||||||
(modulesPath + "/installer/scan/not-detected.nix")
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
];
|
];
|
||||||
|
boot = {
|
||||||
boot.initrd.availableKernelModules = [
|
initrd = {
|
||||||
|
kernelModules = [ ];
|
||||||
|
verbose = false;
|
||||||
|
availableKernelModules = [
|
||||||
"nvme"
|
"nvme"
|
||||||
"xhci_pci"
|
"xhci_pci"
|
||||||
"ahci"
|
"ahci"
|
||||||
@@ -22,9 +25,24 @@
|
|||||||
"usbhid"
|
"usbhid"
|
||||||
"sd_mod"
|
"sd_mod"
|
||||||
];
|
];
|
||||||
boot.initrd.kernelModules = [ ];
|
};
|
||||||
boot.kernelModules = [ "kvm-amd" ];
|
kernelPackages = pkgs.linuxKernel.packages.linux_xanmod_latest;
|
||||||
boot.extraModulePackages = [ ];
|
kernelModules = [
|
||||||
|
"kvm-amd"
|
||||||
|
"nct6683"
|
||||||
|
"hid-logitech-dj"
|
||||||
|
"hid-logiztech-hidpp"
|
||||||
|
];
|
||||||
|
extraModulePackages = with config.boot.kernelPackages; [
|
||||||
|
pkgs.linuxKernel.packages.linux_xanmod_latest.zenpower
|
||||||
|
];
|
||||||
|
blacklistedKernelModules = [ "k10temp" ];
|
||||||
|
kernelParams = [
|
||||||
|
"amdgpu.seamless=1"
|
||||||
|
"rd.udev.log_priority=3"
|
||||||
|
"vt.global_cursor_default=0"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
device = "/dev/disk/by-uuid/688ed267-cec9-400a-9226-32b0538eaecd";
|
device = "/dev/disk/by-uuid/688ed267-cec9-400a-9226-32b0538eaecd";
|
||||||
|
|||||||
Reference in New Issue
Block a user