summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authornzbr <mail@nzbr.de>2022-04-16 23:32:12 +0200
committernzbr <mail@nzbr.de>2022-04-16 23:32:12 +0200
commit19099e20c3de92e6490178fa282c397a37eec670 (patch)
tree44d492a4c376eb21005249922714a5ca42388cb3 /modules
parenta374c545d7fff470da3c593aa075ee87a46b3496 (diff)
fix host fs mount failing on first start with installer
Diffstat (limited to 'modules')
-rw-r--r--modules/installer.nix3
1 files changed, 3 insertions, 0 deletions
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"; }
];
};