summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2023-10-02feat: add welcome messageK900
Direct people to upgrade their systems first and link to support channels just in case.
2023-09-30fix: fix config generation for legacy/testsK900
2023-09-29fix: fix legacy (syschdemd) modeK900
Quoth man mount(2) > EINVAL > > A bind operation (MS_BIND) was requested where source > referred a mount namespace magic link (i.e., a > /proc/pid/ns/mnt magic link or a bind mount to such a > link) and the propagation type of the parent mount of > target was MS_SHARED, but propagation of the requested > bind mount could lead to a circular dependency that might > prevent the mount namespace from ever being freed.
2023-09-29fix: add warnings for old removed optionsK900
2023-09-29cleanup: remove old WSL interop hacksK900
2023-09-29cleanup: remove old docker-desktop hacksK900
2023-09-29cleanup: remove the old installer, now unusedK900
2023-09-29feat: rewrite tarball generation to use proper nixos-install + nixos-enterK900
Supersedes #243.
2023-09-29systemd: default to nativeK900
2023-09-29cleanup: minor treewide cleanupsK900
2023-09-12Refactor (#291)nzbr
* move module imports to default.nix * move docker modules to subdirectory * add an otion for adding files to /bin. Fixes #279 * move recovery script to own module * reorder options * move systemd related code to separate modules * move utils to repo root * devShell -> devShells.default * fix utils imports * fix bashWrapper
2023-08-15feat: add a recovery shellK900
2023-07-24Only include wslpath derivation on syschdemdnzbr
2023-07-24fix: shells testnzbr
2023-06-26Make system config included in the tarball writeableTerje Larsen
2023-06-21Allow customizing the system config to include in the tarballTerje Larsen
2023-06-19Include per-user applications in start menu launchersTerje Larsen
2023-06-16Merge pull request #253 from SuperSandro2000/systemd-timesyncdSandro
Enable systemd-timesyncd to prevent clock drift
2023-06-14Enable systemd-timesyncd to prevent clock driftSandro Jäckel
2023-04-15fix(native-systemd): fix PATH, don't source set-environmentK900
We need to preserve PATH from the parent in case we're called by whatever random thing decided to call /bin/sh directly from inside NixOS. Unrelatedly, set-environment will be sourced by /etc/profile anyway, which persists across boots and is thus not racy.
2023-04-13fix: add /bin to path tooK900
2023-04-11Merge pull request #240 from K900/smol-fixK900
fix: explicitly add systemctl and grep to path in shell-wrapper
2023-04-04fix: explicitly add systemctl and grep to path in shell-wrapperK900
We can generally find them in /run/current-system/sw/bin, but WSL may try to call those before activation is fully done, so make sure it can always find what it needs.
2023-04-03Merge pull request #233 from SuperSandro2000/networking-extraHosts-warningnzbr
wsl-conf: warn when networking.extraHosts has no effect
2023-04-01wsl-conf: warn when networking.extraHosts has no effectSandro Jäckel
2023-03-28fix: fix typoK900
2023-03-27fix: just pull in the entire environment into the /bin/sh wrapperK900
This is more consistent with what other distros do and may (MAY!) unfuck more cases of wsl -e sh -c abuse.
2023-03-17Revert "Enable udev by default (it can be useful when using usbip)" (#232)Sandro
2023-03-12Fix perl locale errrors in installerTeo Camarasu
Set a locale so perl doesn't get confused
2023-03-01Udev can actually be useful for usbipKovacsics Robert
We can support usbip with the Microsoft Store version of WSL (I think that's the one that introduced the change, also turned on WSLg) Related is https://github.com/nix-community/NixOS-WSL/pull/175#discussion_r1048284393 which is where it got disabled, because it wasn't necessary rather than because it broke things
2023-02-09Silence bootloader warning againSandro
Turns out that it couldn't be removed in #175
2023-02-02Add wsl.binShPkg and wsl.populateBin options to make envfs easily possibleSandro Jäckel
2023-02-02Merge pull request #214 from K900/until-morale-improvesK900
feat: use a Rust tool to do the PATH manipulations
2023-02-01feat: use a Rust tool to do the PATH manipulationsK900
Overkill? Yes. Fuck bash? Also yes.
2023-02-01Merge pull request #209 from nix-community/wslpath-cleanupSandro
Remove wslpath from systemPackages
2023-02-01fix: actually fix PATH filteringK900
2023-01-30Merge pull request #175 from SuperSandro2000/boot-isContainer-cleanupSandro
Closes https://github.com/nix-community/NixOS-WSL/issues/149
2023-01-30Remove wslpath from systemPackagesSandro
wslpath is now always symlinked to /bin/wslpath where WSL hardcodes the path to when booting.
2023-01-30Update modules/wsl-distro.nixnzbr
Co-authored-by: Niklas Korz <niklas@niklaskorz.de>
2023-01-30fix: ensure /nix/nixos-wsl exists before linking entrypointK900
2023-01-30hotfix: emergency typo fixK900
2023-01-30Merge pull request #207 from K900/relink-x11-socketK900
fix: relink the X11 socket into place if needed
2023-01-30don't hardcode automount rootnzbr
2023-01-29Use upstream settings instead of workarounds to disable unsupported settingsSandro Jäckel
Closes #149
2023-01-29fix: relink the X11 socket into place if neededK900
Fixes X11 applications on tmp-as-tmpfs setups.
2023-01-28Add tests for changing username and diverging user attr and namenzbr
2023-01-27Default user name isn't necessarily the same as user attr nameRobert Kovacsics
2023-01-18Merge branch 'main' into versionnzbr
2023-01-18flag options as internalnzbr
2023-01-10Merge pull request #197 from SuperSandro2000/PATH-robustK900
Don't add an extra :, make robust against grep aliases