From 3dc6fab5c9362db2cf079ffa15f2b62b05001747 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Wed, 2 Feb 2022 13:45:39 +0300 Subject: [PATCH] nixos/stage-1: add nixos modprobe options --- nixos/modules/system/boot/stage-1.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/modules/system/boot/stage-1.nix b/nixos/modules/system/boot/stage-1.nix index 9c684fbada2c..1575c0257d1c 100644 --- a/nixos/modules/system/boot/stage-1.nix +++ b/nixos/modules/system/boot/stage-1.nix @@ -350,6 +350,9 @@ let ''; symlink = "/etc/modprobe.d/ubuntu.conf"; } + { object = config.environment.etc."modprobe.d/nixos.conf".source; + symlink = "/etc/modprobe.d/nixos.conf"; + } { object = pkgs.kmod-debian-aliases; symlink = "/etc/modprobe.d/debian.conf"; }