nzbr
4669a34188
Add /bin/true
2026-09-10 13:09:26 +02:00
Nikolaos Karaolidis
b70fe05f58
feat(wsl-conf): add boot.initTimeout option ( #1078 )
...
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com >
2026-07-12 23:53:36 +02:00
Tobias Minich
7784b204c1
Add required binaries for Docker Desktop v4.80.0+ integration
2026-07-02 14:33:22 +02:00
K900
282144574f
modules/wsl-distro: don't disable bootspec
...
Breaks on latest nixpkgs, nixpkgs side fix to get kernels
back out of the closure: https://github.com/NixOS/nixpkgs/pull/530717
2026-06-11 15:39:16 +03:00
0687334340
Expose wsl-lib to downstream. ( #1043 )
...
Co-authored-by: Sandro <sandro.jaeckel@gmail.com >
Co-authored-by: Arson Copperflame <mail@nzbr.de >
2026-06-10 15:28:29 +02:00
x13.me
fc1492f5ab
fix: condition channel addition on config ( #1051 )
2026-06-05 19:17:35 -04:00
Florian Freudiger
5482f113fd
Do not enable resolvconf if generateResolvConf is set to false
2026-05-02 16:38:19 +02:00
K900
17e15220cc
modules/wsl-distro: disable resolvconf if managed by WSL
2026-04-28 19:25:02 +03:00
Tim Black and Sandro
9a8c2a85f1
systemd: use mkDefault for oomd.enable to allow downstream override ( #1028 )
...
Co-authored-by: Sandro <sandro.jaeckel@gmail.com >
2026-04-15 14:13:57 +02:00
Kiryl Mialeshka
146e7c5e8e
fix: proper check for setting /sbin when changing populateBin from true to false
2026-03-18 23:18:21 +01:00
Scott Edlund
3c1ad42d1a
fix(wsl/ssh-agent): use static type for users to fix documentation eval
2026-02-08 13:40:27 +08:00
kb
a767968e1f
feat: add wsl2-ssh-agent integration
2026-02-07 20:39:30 +01:00
btwotwo
1b884dcdf8
Add home manager app directory as a potential app source ( #960 )
2026-01-19 09:12:54 +01:00
ljxfstorm
52c8239730
Disable timesyncd to prevent conflict
2026-01-14 23:20:28 +08:00
ljxfstorm
95ac740f04
Remove redundant chronyd
2026-01-14 11:47:51 +08:00
nzbr
82a65dd7ea
use mkDefault for default uid ( #943 )
2025-12-15 21:32:47 +00:00
hatch01
da346948cc
fix: Escape shell arguments in wsl-distro bin helpers ( #848 )
2025-11-19 18:42:45 +01:00
David Moody
a3fdc2e8e9
Remove default NTP servers
2025-11-18 22:43:55 +00:00
Nikolaos Karaolidis and nzbr
3231e4f133
feat: add --extra-files and --chown parameters ( #752 )
...
* feat: add --extra-files and --chown parameters
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com >
* add test
* fix nix run invocation
---------
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com >
Co-authored-by: nzbr <mail@nzbr.de >
2025-11-12 01:25:14 +01:00
K900
a8209ae467
Set up chrony for clock adjustment
2025-10-14 17:03:37 +02:00
nzbr
c60100d47b
dereference hardlinks in tarball
2025-08-14 01:41:45 +02:00
nzbr
d62ab700e3
add /bin/bash
2025-08-14 01:41:45 +02:00
nzbr
67c0d3b7d0
drop systemd implementation from nixos-wsl-version
2025-08-12 00:15:39 +02:00
nzbr
57ba096649
usbip: add cat and ls to /bin ( #665 )
...
* merge /bin and /sbin
* usbip: add cat and ls to /bin
* use lib.getExe
* Revert "use lib.getExe"
This reverts commit a5caa98972 .
2025-08-04 00:28:57 +02:00
nzbr
87aa106e08
merge /bin and /sbin ( #666 )
2025-08-03 17:30:38 +02:00
Sandro
57506f23aa
Fix usbip when enableStrictShellChecks is turned on
...
unit-script-usbip-auto-attach_-start> building '/nix/store/dd4ssa8fni4gv3zg79p20pbi8d0k81s5-unit-script-usbip-auto-attach_-start.drv'
unit-script-usbip-auto-attach_-start>
unit-script-usbip-auto-attach_-start> In /nix/store/fxkgxc0yzwcdqklcyd5y54gfi13n5ack-unit-script-usbip-auto-attach_-start/bin/usbip-auto-attach_-start line 10:
unit-script-usbip-auto-attach_-start> source /nix/store/3l16mhbr2d8kyn7r3x6dr3qr4vz8pbdi-nll5ayjp1474ax1pyq3qf52arn438dn8-auto-attach.sh "$ip" "$busid"
unit-script-usbip-auto-attach_-start> ^-- SC1091 (info): Not following: /nix/store/3l16mhbr2d8kyn7r3x6dr3qr4vz8pbdi-nll5ayjp1474ax1pyq3qf52arn438dn8-auto-attach.sh was not specified as input (see shellcheck -x).
unit-script-usbip-auto-attach_-start>
unit-script-usbip-auto-attach_-start> For more information:
unit-script-usbip-auto-attach_-start> https://www.shellcheck.net/wiki/SC1091 -- Not following: /nix/store/3l16mhb...
2025-07-24 16:55:00 +02:00
nzbr
0a3fda25bd
remove 24.05 compatibility code / documentation
2025-07-11 04:03:58 +02:00
nzbr
a85fd7c967
generate nixos-wsl channel url based on nixpkgs version
2025-07-09 04:15:38 +02:00
Jason Bury
4544701610
Allow setting wsl default user in the default nix config of the generated tarball
2025-06-09 18:51:21 +02:00
isabel
ff7899259e
wsl-conf: alter regex to stop tripping up on darwin
2025-04-10 15:00:10 +02:00
K900
394c77f61a
wsl-distro: drop user-runtime-dir hack
...
It isn't actually necessary, lingering is just completely broken
with how current WSL handles runtime directories.
2025-03-28 02:30:58 +01:00
nzbr
79934797ca
wsl-conf: update regex to allow using / as the automount root
2025-03-20 12:00:20 +01:00
nzbr and Niklas Schrötler
dfe8e9da5e
Add a logo ( #643 )
...
* add logo
Co-authored-by: Niklas Schrötler <privat@nschroetler.de >
* replace icon
* add logo to docs
---------
Co-authored-by: Niklas Schrötler <privat@nschroetler.de >
2025-03-17 12:03:08 +01:00
K900
5d76001e33
wsl-distro: always stub out user-runtime-dir
...
WSL 2.5.1 always creates it for all users, and the check is racy
2025-03-13 13:47:28 +01:00
K900
d0dec3d59b
wsl-conf: filter out empty values
...
WSL 2.5.1 complains about those.
2025-03-13 13:47:28 +01:00
nzbr
392fe33cc3
remove legacy systemd support (syschdemd) ( #625 )
...
* remove legacy syschdemd
* remove shfmt check because there are no shellscripts anymore
2025-02-14 17:34:23 +01:00
nzbr
6dbd73274d
Distribute as .wsl file instead of .tar.gz ( #600 )
...
* wsl-package: create renamed tarball, include manifest
* update all code occurences of nixos-wsl.tar.gz
* update docs
2025-02-14 14:05:56 +01:00
Terje Larsen
7c85eb172e
usbip: fix auto-attach script
...
The upstream script changed to a relative path based on the working
directory. This patches the code to use the lookup by PATH instead.
2024-12-09 15:27:54 +01:00
Sandro
5a965cb108
Merge pull request #522 from terlar/fix/usbip-snippetIpAddress-default
...
usbip: fix default snippetIpAddress command
2024-10-23 23:07:58 +02:00
Yang, Bo
b8ebac4acc
Support envfs ( #525 )
...
* Support envfs
Disable `populateBin` when `envfs` is enabled
* Use mkIf to disable populateBin
2024-10-14 00:53:20 +02:00
Daniel Kahlenberg
5e7d34941e
Update usbip.nix
...
Change hash
2024-10-14 00:45:08 +02:00
Daniel Kahlenberg
45cfdcb80a
Update usbip.nix
...
Use https://raw.githubusercontent.com/dorssel/usbipd-win/v4.2.0/Usbipd/WSL/auto-attach.sh
2024-10-14 00:45:08 +02:00
Marcel
0fc8d9bb51
24.05-compat: sync with nixos-hardware ( #563 )
2024-10-10 21:25:46 +02:00
nzbr
9f4fbf5f9e
wslConf: convert to freeform type
2024-10-08 16:53:56 +02:00
nzbr
5a7c64a72a
shell-wrapper: wrap /bin/sh
2024-10-05 15:19:21 +02:00
Terje Larsen
5d68316327
usbip: add target to allow batch restart auto-attach jobs
2024-10-03 23:12:56 +02:00
Terje Larsen
cf93b395aa
usbip: fix default snippetIpAddress command
...
The nix string escaping was wrong so the `\` got lost.
I also discovered that this fails if having multiple routes. This should
make it more robust and default to the first match (which is usually the
default route).
2024-10-03 23:12:55 +02:00
nzbr
664828cfb1
Fix cyclic dependency in systemd units. Add test to check for that
2024-09-25 16:09:57 +02:00
K900
d1ea72205e
recovery: prefer nixos-enter from pkgs if available
...
config.system.build.nixos-enter is deprecated.
2024-09-22 07:42:56 +03:00
Antoine Cotten
cc84991d06
docker-desktop: do not install docker{,-compose}
...
Docker Desktop comes with its own 'docker' and CLI plugin executables
already, including Compose. Docker Desktop symlinks those executables in
the /usr/bin directory of the WSL instance whenever it is up and removes
them when it shuts down.
If the user wants to install their own 'docker' program they are free to
do so, but it is by no means something that Docker Desktop requires.
2024-09-20 23:40:15 +02:00