From 858c25a5d364a8ee63a10f461784ee3d7d1f7275 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 9 Nov 2022 23:52:07 +0100 Subject: [PATCH] Add comments --- modules/wsl-distro.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/wsl-distro.nix b/modules/wsl-distro.nix index 2d3431a4..bdb969a1 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; };