diff options
author | K900 <me@0upti.me> | 2023-09-11 09:11:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-11 09:11:10 +0300 |
commit | a604b522be970c1c1d627908179e3ab229d82685 (patch) | |
tree | 954b391144ee66c0e9b496cd086c4d97536df5bf /nixos/modules | |
parent | dd27dcf0fd5502e611ccfebcdf0929adc03b5cc7 (diff) | |
parent | 0e1a8027d128f993a323878d34b1bf453f7cb636 (diff) | |
download | nixlib-a604b522be970c1c1d627908179e3ab229d82685.tar nixlib-a604b522be970c1c1d627908179e3ab229d82685.tar.gz nixlib-a604b522be970c1c1d627908179e3ab229d82685.tar.bz2 nixlib-a604b522be970c1c1d627908179e3ab229d82685.tar.lz nixlib-a604b522be970c1c1d627908179e3ab229d82685.tar.xz nixlib-a604b522be970c1c1d627908179e3ab229d82685.tar.zst nixlib-a604b522be970c1c1d627908179e3ab229d82685.zip |
Merge pull request #254429 from ctheune/fix-swraid-for-old-init
nixos/swraid: fix regression for old initrd and add test coverage
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/tasks/swraid.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/tasks/swraid.nix b/nixos/modules/tasks/swraid.nix index 8985660d80a7..1174187062d7 100644 --- a/nixos/modules/tasks/swraid.nix +++ b/nixos/modules/tasks/swraid.nix @@ -67,7 +67,7 @@ in { $out/bin/mdadm --version ''; - extraFiles."/etc/mdadm.conf" = mdadm_conf; + extraFiles."/etc/mdadm.conf".source = pkgs.writeText "mdadm.conf" mdadm_conf.text; systemd = { contents."/etc/mdadm.conf".text = mdadm_conf.text; |