dacbert, pulsebert, radiobert: replace workaround to avoid having to build kernels
This commit is contained in:
parent
2629e5ff51
commit
6fb58846d9
|
@ -26,6 +26,11 @@
|
|||
};
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
||||
|
||||
nixpkgs.config.packageOverrides = pkgs: {
|
||||
makeModulesClosure = x:
|
||||
# prevent kernel install fail due to missing modules
|
||||
pkgs.makeModulesClosure (x // { allowMissing = true; });
|
||||
};
|
||||
boot = {
|
||||
loader = {
|
||||
grub.enable = false;
|
||||
|
@ -40,15 +45,8 @@
|
|||
'';
|
||||
};
|
||||
};
|
||||
kernelPackages = pkgs.linuxPackages_5_14;
|
||||
# TODO: can be removed when https://github.com/NixOS/nixpkgs/pull/142015 is merged
|
||||
kernelPatches = [{
|
||||
name = "disable-FB_SIMPLE";
|
||||
patch = null;
|
||||
extraConfig = ''
|
||||
FB_SIMPLE m
|
||||
'';
|
||||
}];
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
# No ZFS on latest kernel:
|
||||
supportedFilesystems = lib.mkForce [ "vfat" "ext4" ];
|
||||
kernelParams = lib.mkForce [
|
||||
|
|
|
@ -19,14 +19,6 @@ in
|
|||
};
|
||||
};
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
# TODO: can be removed when https://github.com/NixOS/nixpkgs/pull/142015 is merged
|
||||
kernelPatches = [{
|
||||
name = "disable-FB_SIMPLE";
|
||||
patch = null;
|
||||
extraConfig = ''
|
||||
FB_SIMPLE m
|
||||
'';
|
||||
}];
|
||||
# No ZFS on latest kernel:
|
||||
supportedFilesystems = lib.mkForce [ "vfat" "ext4" ];
|
||||
tmpOnTmpfs = true;
|
||||
|
@ -35,6 +27,11 @@ in
|
|||
enable = true;
|
||||
kernelPackage = config.boot.kernelPackages.kernel;
|
||||
};
|
||||
nixpkgs.config.packageOverrides = pkgs: {
|
||||
makeModulesClosure = x:
|
||||
# prevent kernel install fail due to missing modules
|
||||
pkgs.makeModulesClosure (x // { allowMissing = true; });
|
||||
};
|
||||
|
||||
c3d2 = {
|
||||
isInHq = true;
|
||||
|
|
|
@ -38,19 +38,16 @@
|
|||
};
|
||||
};
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
# TODO: can be removed when https://github.com/NixOS/nixpkgs/pull/142015 is merged
|
||||
kernelPatches = [{
|
||||
name = "disable-FB_SIMPLE";
|
||||
patch = null;
|
||||
extraConfig = ''
|
||||
FB_SIMPLE m
|
||||
'';
|
||||
}];
|
||||
# No ZFS on latest kernel:
|
||||
supportedFilesystems = lib.mkForce [ "vfat" "ext4" ];
|
||||
|
||||
tmpOnTmpfs = true;
|
||||
};
|
||||
nixpkgs.config.packageOverrides = pkgs: {
|
||||
makeModulesClosure = x:
|
||||
# prevent kernel install fail due to missing modules
|
||||
pkgs.makeModulesClosure (x // { allowMissing = true; });
|
||||
};
|
||||
sdImage = {
|
||||
compressImage = false;
|
||||
imageBaseName = config.networking.hostName;
|
||||
|
|
Loading…
Reference in New Issue