diff --git a/modules/wsl-distro.nix b/modules/wsl-distro.nix index b144f00f..37b29ac0 100644 --- a/modules/wsl-distro.nix +++ b/modules/wsl-distro.nix @@ -99,6 +99,7 @@ with lib; { systemd = { # Disable systemd units that don't make sense on WSL services = { + # no virtual console to switch to "serial-getty@ttyS0".enable = false; "serial-getty@hvc0".enable = false; "getty@tty1".enable = false; @@ -107,6 +108,7 @@ with lib; { systemd-resolved.enable = false; # system clock cannot be changed systemd-timesyncd.enable = false; + # no udev devices can be attached systemd-udevd.enable = false; };