From ec3e1c6a3a19e1eaf14d8697e99922c192129574 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Thu, 14 Jul 2022 11:51:04 +0200 Subject: nixos/documentation: Remove systemd/initrd dependency Working towards a unit-testable documentation module. --- nixos/modules/system/boot/systemd/initrd.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nixos/modules/system') diff --git a/nixos/modules/system/boot/systemd/initrd.nix b/nixos/modules/system/boot/systemd/initrd.nix index cdec7f532917..b49312c924b5 100644 --- a/nixos/modules/system/boot/systemd/initrd.nix +++ b/nixos/modules/system/boot/systemd/initrd.nix @@ -359,6 +359,9 @@ in { ''; "/etc/modprobe.d/debian.conf".source = pkgs.kmod-debian-aliases; + "/etc/os-release".source = config.boot.initrd.osRelease; + "/etc/initrd-release".source = config.boot.initrd.osRelease; + }; storePaths = [ -- cgit 1.4.1