summaryrefslogtreecommitdiff
path: root/flake.nix
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-29fix: add better indirection to syschdemd proxyK900
Fixes username-change test
2023-09-29feat: rewrite tarball generation to use proper nixos-install + nixos-enterK900
Supersedes #243.
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-07-19Bump stable to 23.05Sandro Jäckel
2023-06-07Add default as an export from nixosModulesScott Moore
2023-02-10feat: run native-utils tests and rustfmt in CIK900
2023-02-01feat: use a Rust tool to do the PATH manipulationsK900
Overkill? Yes. Fuck bash? Also yes.
2023-01-28Add tests for changing username and diverging user attr and namenzbr
2023-01-26Merge pull request #183 from nzbr/versionnzbr
nixos-wsl-version command
2023-01-19feat: add a statically built shim outputK900
Useful for when your system is broken and you want to fix it quickly.
2022-12-17backport nixos-wsl-versionnzbr
2022-12-14Update to NixOS 22.11 (#177)nzbr
* 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>
2022-11-25Add CI Tests (#161)nzbr
* 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
2022-11-06wsl.conf: proper option types (#153)nzbr
* 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>
2022-10-30feat: native systemd support (#134)K900
2022-08-29feat: rewrite syschdemd (#126)K900
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
2022-07-15interop: move to its own module, disable by default (#119)nzbr
2022-06-06switch to nixpkgs 22.05nzbr
2022-04-21clarify language for docker-native in configuration.nix and reorder imports ↵Alex Jackson
in flake.nix
2022-04-18add docker-native module for native docker support in NixOSAlex Jackson
Addresses [#59](https://github.com/nix-community/NixOS-WSL/issues/59#issuecomment-1092657189) by overlaying legacy iptables on the docker package.
2022-03-30switch to nixpkgs 21.11nzbr
2022-03-24Update flakesnzbr
2022-02-08create an installer tarball to circumvent the unspecified error when running ↵nzbr
wsl --import
2022-02-08add a module for docker-desktop supportnzbr
2022-02-02use flake-compat for non-flake nix-buildnzbr
2022-02-01move wsl-specific config to a flake modulenzbr
2022-02-01move build-tarball to a flake modulenzbr
2021-02-20flake.nix: add nixpkgs-fmt checkVincent Haupert
2021-02-19Support building without flake.nixVincent Haupert
2021-02-18Convert to flakes; build tarball with GitHub ActionsJamie Magee