refactor: Make rescue iso minimal
This commit is contained in:
parent
2fa46859ab
commit
7f069e282d
1 changed files with 14 additions and 14 deletions
|
@ -4,7 +4,8 @@
|
|||
, ...
|
||||
}: {
|
||||
imports = [
|
||||
"${inputs.nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-graphical-plasma5.nix"
|
||||
# "${inputs.nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-graphical-plasma5.nix"
|
||||
"${inputs.nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix"
|
||||
"${inputs.nixpkgs}/nixos/modules/installer/cd-dvd/channel.nix"
|
||||
];
|
||||
|
||||
|
@ -23,20 +24,19 @@
|
|||
version = "6.12-rc3";
|
||||
kernelPatches = pkgs.callPackage "${inputs.nixpkgs}/pkgs/os-specific/linux/kernel/patches.nix" { };
|
||||
ref = "6efbea77b390604a7be7364583e19cd2d6a1291b";
|
||||
linux_mainline = { buildLinux, fetchzip, ... } @ args:
|
||||
buildLinux {
|
||||
version = version;
|
||||
src = fetchzip {
|
||||
url = "https://git.kernel.org/torvalds/t/linux-${ref}.tar.gz";
|
||||
hash = "sha256-TP1sBMr34gAfIWD/LBlhorSebABUYsQE4OBuDFb348c=";
|
||||
};
|
||||
modDirVersion = lib.versions.pad 3 version;
|
||||
kernelPatches = [
|
||||
kernelPatches.bridge_stp_helper
|
||||
kernelPatches.request_key_helper
|
||||
];
|
||||
extraMeta.branch = "master";
|
||||
linux_mainline = { buildLinux, fetchzip, ... } @ args: buildLinux {
|
||||
version = version;
|
||||
src = fetchzip {
|
||||
url = "https://git.kernel.org/torvalds/t/linux-${ref}.tar.gz";
|
||||
hash = "sha256-TP1sBMr34gAfIWD/LBlhorSebABUYsQE4OBuDFb348c=";
|
||||
};
|
||||
modDirVersion = lib.versions.pad 3 version;
|
||||
kernelPatches = [
|
||||
kernelPatches.bridge_stp_helper
|
||||
kernelPatches.request_key_helper
|
||||
];
|
||||
extraMeta.branch = "master";
|
||||
};
|
||||
linuxMainlinePkg = pkgs.callPackage linux_mainline { };
|
||||
linuxMainlinePkgs = pkgs.recurseIntoAttrs (pkgs.linuxPackagesFor linuxMainlinePkg);
|
||||
in
|
||||
|
|
Loading…
Add table
Reference in a new issue