| Age | Commit message (Collapse) | Author |
|
Direct people to upgrade their systems first and link to support channels just in case.
|
|
Fixes username-change test
|
|
Supersedes #243.
|
|
* 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
|
|
|
|
|
|
|
|
Overkill? Yes. Fuck bash? Also yes.
|
|
|
|
nixos-wsl-version command
|
|
Useful for when your system is broken and you want to fix it quickly.
|
|
|
|
* Update to NixOS 22.11
* Specify full path to the nixpkgs flake instead of using the flake registry
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
|
|
* use systemd-run instead of machinectl
* fix systemd user sessions by launching through runuser
* skip mounting binfmt_misc if the kernel lacks support for it
* link syschdemd/installer to static location
* make check happy
* test tests
* add a simple installer test
* add second test for exit codes
* make tests responsible for checking exit code
* fix: add which to path
* overhaul actions workflow
* move checks out of flake.nix
* use GUID for image name
* Split flake checks into matrix job
* Check for side-effects
* reformat powershell scripts
* extend basic test
* use pester for tests
* "fix" (purposefully) failing test
* rename lib -> init
* Add test for systemd --user
* Add test for docker-native
* move release to separate workflow
* change downstream workflow path
* switch to a class
* Test running with different user shells
* Add lib implementation for Windows
* Add documentation for the tests
* readme: docker permissions
* remove empty files
|
|
* wsl.conf: proper option types
* remove `with builtins;`
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
* add native systemd warning
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
|
|
|
|
Mostly just a big pile of cleanups.
Important changes:
- refactor and clean up the code, fix all the shellcheck complaints
- stop trying to guess paths in scripts and wrap them correctly instead
- use nsfs instead of trying to figure out the right PID to copy namespaces from
- clean up $WSLPATH to remove extra impure entries
- don't try to restart systemd if it died
- make sure the store is read-only before we do anything, so systemd can't mess with it
- reformat shell scripts with shfmt
|
|
|
|
|
|
in flake.nix
|
|
Addresses [#59](https://github.com/nix-community/NixOS-WSL/issues/59#issuecomment-1092657189)
by overlaying legacy iptables on the docker package.
|
|
|
|
|
|
wsl --import
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|