From 19099e20c3de92e6490178fa282c397a37eec670 Mon Sep 17 00:00:00 2001 From: nzbr Date: Sat, 16 Apr 2022 23:32:12 +0200 Subject: fix host fs mount failing on first start with installer --- modules/installer.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules') diff --git a/modules/installer.nix b/modules/installer.nix index 739adf3..04d5127 100644 --- a/modules/installer.nix +++ b/modules/installer.nix @@ -54,7 +54,10 @@ with builtins; with lib; { contents = [ { source = config.environment.etc."wsl.conf".source; target = "/etc/wsl.conf"; } + { source = config.environment.etc."fstab".source; target = "/etc/fstab"; } { source = passwd; target = "/etc/passwd"; } + { source = "${pkgs.busybox}/bin/busybox"; target = "/bin/sh"; } + { source = "${pkgs.busybox}/bin/busybox"; target = "/bin/mount"; } ]; }; -- cgit v1.2.3