Skip to content

Commit

Permalink
treewide: Use fileSystems.<name>.depends option where possible/nece…
Browse files Browse the repository at this point in the history
…ssary
  • Loading branch information
jakobrs committed May 22, 2020
1 parent a0fa49e commit 6cbb64e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nixos/modules/installer/cd-dvd/iso-image.nix
Expand Up @@ -598,6 +598,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" ];
Expand Down
6 changes: 6 additions & 0 deletions nixos/modules/installer/netboot/netboot.nix
Expand Up @@ -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" ];
Expand Down

0 comments on commit 6cbb64e

Please sign in to comment.