diff options
author | Robert Hensing <roberth@users.noreply.github.com> | 2022-08-08 11:53:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-08 11:53:10 +0200 |
commit | 661c29c806409f2883f2445e42583206426ffd46 (patch) | |
tree | aa9e06c7cffb5fe4037d6fd05b39e3e91d1e7644 /nixos/modules/system | |
parent | 251f5be0bc0606fb085d21d3218883187a702782 (diff) | |
parent | 9aa588ecc394f140681a0d68b635b3cf45ade411 (diff) | |
download | nixlib-661c29c806409f2883f2445e42583206426ffd46.tar nixlib-661c29c806409f2883f2445e42583206426ffd46.tar.gz nixlib-661c29c806409f2883f2445e42583206426ffd46.tar.bz2 nixlib-661c29c806409f2883f2445e42583206426ffd46.tar.lz nixlib-661c29c806409f2883f2445e42583206426ffd46.tar.xz nixlib-661c29c806409f2883f2445e42583206426ffd46.tar.zst nixlib-661c29c806409f2883f2445e42583206426ffd46.zip |
Merge pull request #181222 from hercules-ci/module-specialArgs
`_module.specialArgs` + unit test for nixos/documentation module
Diffstat (limited to 'nixos/modules/system')
-rw-r--r-- | nixos/modules/system/boot/systemd/initrd.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/systemd/initrd.nix b/nixos/modules/system/boot/systemd/initrd.nix index 0351453a6587..888653469ed7 100644 --- a/nixos/modules/system/boot/systemd/initrd.nix +++ b/nixos/modules/system/boot/systemd/initrd.nix @@ -374,6 +374,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 = [ |