Loading nixos/modules/system/boot/modprobe.nix +7 −1 Original line number Diff line number Diff line Loading @@ -11,6 +11,10 @@ with lib; default = true; }; boot.modprobeConfig.useUbuntuModuleBlacklist = mkEnableOption "Ubuntu distro's module blacklist" // { default = true; }; boot.blacklistedKernelModules = mkOption { type = types.listOf types.str; default = []; Loading Loading @@ -43,7 +47,9 @@ with lib; config = mkIf config.boot.modprobeConfig.enable { environment.etc."modprobe.d/ubuntu.conf".source = "${pkgs.kmod-blacklist-ubuntu}/modprobe.conf"; environment.etc."modprobe.d/ubuntu.conf" = mkIf config.boot.modprobeConfig.useUbuntuModuleBlacklist { source = "${pkgs.kmod-blacklist-ubuntu}/modprobe.conf"; }; environment.etc."modprobe.d/nixos.conf".text = '' Loading Loading
nixos/modules/system/boot/modprobe.nix +7 −1 Original line number Diff line number Diff line Loading @@ -11,6 +11,10 @@ with lib; default = true; }; boot.modprobeConfig.useUbuntuModuleBlacklist = mkEnableOption "Ubuntu distro's module blacklist" // { default = true; }; boot.blacklistedKernelModules = mkOption { type = types.listOf types.str; default = []; Loading Loading @@ -43,7 +47,9 @@ with lib; config = mkIf config.boot.modprobeConfig.enable { environment.etc."modprobe.d/ubuntu.conf".source = "${pkgs.kmod-blacklist-ubuntu}/modprobe.conf"; environment.etc."modprobe.d/ubuntu.conf" = mkIf config.boot.modprobeConfig.useUbuntuModuleBlacklist { source = "${pkgs.kmod-blacklist-ubuntu}/modprobe.conf"; }; environment.etc."modprobe.d/nixos.conf".text = '' Loading