From 19bc20188db046664dafcf717fc53b9b513bf64b Mon Sep 17 00:00:00 2001 From: nzbr Date: Sat, 28 Jan 2023 07:03:37 +0100 Subject: Add tests for changing username and diverging user attr and name --- modules/wsl-distro.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules') diff --git a/modules/wsl-distro.nix b/modules/wsl-distro.nix index 37b0dec..43d2bc6 100644 --- a/modules/wsl-distro.nix +++ b/modules/wsl-distro.nix @@ -104,6 +104,9 @@ with lib; { ln -sf ${bash}/bin/sh /bin/sh ln -sf ${pkgs.util-linux}/bin/mount /bin/mount ''; + update-entrypoint.text = '' + ln -sf ${config.users.users.root.shell} /nix/nixos-wsl/entrypoint + ''; }; systemd = { -- cgit v1.2.3