summary refs log tree commit diff
path: root/nixos/modules/installer/cd-dvd
diff options
context:
space:
mode:
authorDominik Xaver Hörl <hoe.dom@gmx.de>2021-05-17 19:49:44 +0200
committerDominik Xaver Hörl <hoe.dom@gmx.de>2021-08-12 12:22:03 +0200
commitc62f911507977ac67fd5e8547af2d1071c5e0891 (patch)
tree15ab66ac4d23877b737adf43f6d96c55326b2992 /nixos/modules/installer/cd-dvd
parentad3ed169292942d5bd17683e533eb3f2fdc69596 (diff)
downloadnixpkgs-c62f911507977ac67fd5e8547af2d1071c5e0891.tar
nixpkgs-c62f911507977ac67fd5e8547af2d1071c5e0891.tar.gz
nixpkgs-c62f911507977ac67fd5e8547af2d1071c5e0891.tar.bz2
nixpkgs-c62f911507977ac67fd5e8547af2d1071c5e0891.tar.lz
nixpkgs-c62f911507977ac67fd5e8547af2d1071c5e0891.tar.xz
nixpkgs-c62f911507977ac67fd5e8547af2d1071c5e0891.tar.zst
nixpkgs-c62f911507977ac67fd5e8547af2d1071c5e0891.zip
top-level: move linux kernels, packages and related functions to linux-kernels.nix
Diffstat (limited to 'nixos/modules/installer/cd-dvd')
-rw-r--r--nixos/modules/installer/cd-dvd/system-tarball-fuloong2f.nix2
-rw-r--r--nixos/modules/installer/cd-dvd/system-tarball-pc.nix2
-rw-r--r--nixos/modules/installer/cd-dvd/system-tarball-sheevaplug.nix2
3 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/installer/cd-dvd/system-tarball-fuloong2f.nix b/nixos/modules/installer/cd-dvd/system-tarball-fuloong2f.nix
index 123f487baf9..054c8c74a76 100644
--- a/nixos/modules/installer/cd-dvd/system-tarball-fuloong2f.nix
+++ b/nixos/modules/installer/cd-dvd/system-tarball-fuloong2f.nix
@@ -93,7 +93,7 @@ in
   boot.initrd.availableKernelModules =
     [ "vfat" "reiserfs" ];
 
-  boot.kernelPackages = pkgs.linuxPackages_3_10;
+  boot.kernelPackages = pkgs.linuxKernel.packages.linux_3_10;
   boot.kernelParams = [ "console=tty1" ];
 
   boot.postBootCommands =
diff --git a/nixos/modules/installer/cd-dvd/system-tarball-pc.nix b/nixos/modules/installer/cd-dvd/system-tarball-pc.nix
index a79209d7dfe..674fb6c8a33 100644
--- a/nixos/modules/installer/cd-dvd/system-tarball-pc.nix
+++ b/nixos/modules/installer/cd-dvd/system-tarball-pc.nix
@@ -114,7 +114,7 @@ in
   # To be able to use the systemTarball to catch troubles.
   boot.crashDump = {
     enable = true;
-    kernelPackages = pkgs.linuxPackages_3_4;
+    kernelPackages = pkgs.linuxKernel.packages.linux_3_4;
   };
 
   # No grub for the tarball.
diff --git a/nixos/modules/installer/cd-dvd/system-tarball-sheevaplug.nix b/nixos/modules/installer/cd-dvd/system-tarball-sheevaplug.nix
index 95579f3ca06..458e313a3f7 100644
--- a/nixos/modules/installer/cd-dvd/system-tarball-sheevaplug.nix
+++ b/nixos/modules/installer/cd-dvd/system-tarball-sheevaplug.nix
@@ -111,7 +111,7 @@ in
       # "console=ttyS0,115200n8"  # serial console
     ];
 
-  boot.kernelPackages = pkgs.linuxPackages_3_4;
+  boot.kernelPackages = pkgs.linuxKernel.packages.linux_3_4;
 
   boot.supportedFilesystems = [ "reiserfs" ];