kmod-debian-aliases: init at 21-1
This commit is contained in:
parent
667f26cabf
commit
87012187b2
@ -85,11 +85,7 @@ with lib;
|
||||
'')}
|
||||
${config.boot.extraModprobeConfig}
|
||||
'';
|
||||
environment.etc."modprobe.d/usb-load-ehci-first.conf".text =
|
||||
''
|
||||
softdep uhci_hcd pre: ehci_hcd
|
||||
softdep ohci_hcd pre: ehci_hcd
|
||||
'';
|
||||
environment.etc."modprobe.d/debian.conf".source = pkgs.kmod-debian-aliases;
|
||||
|
||||
environment.systemPackages = [ config.system.sbin.modprobe pkgs.kmod ];
|
||||
|
||||
|
@ -241,6 +241,9 @@ let
|
||||
};
|
||||
symlink = "/etc/modprobe.d/ubuntu.conf";
|
||||
}
|
||||
{ object = pkgs.kmod-debian-aliases;
|
||||
symlink = "/etc/modprobe.d/debian.conf";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
|
23
pkgs/os-specific/linux/kmod-debian-aliases/default.nix
Normal file
23
pkgs/os-specific/linux/kmod-debian-aliases/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ stdenv, fetchurl, lib }:
|
||||
let
|
||||
version = "21-1";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "kmod-debian-aliases-${version}.conf";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://debian/pool/main/k/kmod/kmod_${version}.debian.tar.xz";
|
||||
sha256 = "1abpf8g3yx972by2xpmz6dwwyc1pgh6gjbvrivmrsws69vs0xjsy";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
patch -i patches/aliases_conf
|
||||
cp aliases.conf $out
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = https://packages.debian.org/source/sid/kmod;
|
||||
description = "Linux configuration file for modprobe";
|
||||
maintainers = with lib.maintainers; [ mathnerd314 ];
|
||||
};
|
||||
}
|
@ -10044,6 +10044,8 @@ let
|
||||
|
||||
kmod-blacklist-ubuntu = callPackage ../os-specific/linux/kmod-blacklist-ubuntu { };
|
||||
|
||||
kmod-debian-aliases = callPackage ../os-specific/linux/kmod-debian-aliases { };
|
||||
|
||||
kvm = qemu_kvm;
|
||||
|
||||
libcap = callPackage ../os-specific/linux/libcap { };
|
||||
|
Loading…
Reference in New Issue
Block a user