diff options
author | jakobrs <jakobrs100@gmail.com> | 2021-06-08 18:52:02 +0200 |
---|---|---|
committer | jakobrs <jakobrs100@gmail.com> | 2021-06-08 18:52:02 +0200 |
commit | ea34fe21e18f87dc8b333672f23edf2bcee98cd7 (patch) | |
tree | d63e5d79298cf840e9a3d86b2847bbd9effa877c /nixos | |
parent | b07602a604d6d5db3b1ff85d1c3c008ad25245fa (diff) | |
download | nixlib-ea34fe21e18f87dc8b333672f23edf2bcee98cd7.tar nixlib-ea34fe21e18f87dc8b333672f23edf2bcee98cd7.tar.gz nixlib-ea34fe21e18f87dc8b333672f23edf2bcee98cd7.tar.bz2 nixlib-ea34fe21e18f87dc8b333672f23edf2bcee98cd7.tar.lz nixlib-ea34fe21e18f87dc8b333672f23edf2bcee98cd7.tar.xz nixlib-ea34fe21e18f87dc8b333672f23edf2bcee98cd7.tar.zst nixlib-ea34fe21e18f87dc8b333672f23edf2bcee98cd7.zip |
treewide: Use `fileSystems.<name>.depends` option where necessary
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/installer/cd-dvd/iso-image.nix | 6 | ||||
-rw-r--r-- | nixos/modules/installer/netboot/netboot.nix | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/nixos/modules/installer/cd-dvd/iso-image.nix b/nixos/modules/installer/cd-dvd/iso-image.nix index c2836b5a9a1b..4e5d888c4bbd 100644 --- a/nixos/modules/installer/cd-dvd/iso-image.nix +++ b/nixos/modules/installer/cd-dvd/iso-image.nix @@ -680,6 +680,12 @@ in "upperdir=/nix/.rw-store/store" "workdir=/nix/.rw-store/work" ]; + + depends = [ + "/nix/.ro-store" + "/nix/.rw-store/store" + "/nix/.rw-store/work" + ]; }; boot.initrd.availableKernelModules = [ "squashfs" "iso9660" "uas" "overlay" ]; diff --git a/nixos/modules/installer/netboot/netboot.nix b/nixos/modules/installer/netboot/netboot.nix index fa074fdfcc6e..238ab6d0617b 100644 --- a/nixos/modules/installer/netboot/netboot.nix +++ b/nixos/modules/installer/netboot/netboot.nix @@ -57,6 +57,12 @@ with lib; "upperdir=/nix/.rw-store/store" "workdir=/nix/.rw-store/work" ]; + + depends = [ + "/nix/.ro-store" + "/nix/.rw-store/store" + "/nix/.rw-store/work" + ]; }; boot.initrd.availableKernelModules = [ "squashfs" "overlay" ]; |