diff options
| author | nzbr <mail@nzbr.de> | 2023-01-28 07:03:37 +0100 |
|---|---|---|
| committer | nzbr <mail@nzbr.de> | 2023-01-28 07:03:37 +0100 |
| commit | 19bc20188db046664dafcf717fc53b9b513bf64b (patch) | |
| tree | 90db259f44169ea832e8b2e5c21e4d8c32d0c3c7 /modules | |
| parent | da9c1be5bc750f88730a1511fe973011da125064 (diff) | |
Add tests for changing username and diverging user attr and name
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/wsl-distro.nix | 3 |
1 files changed, 3 insertions, 0 deletions
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 = { |
