Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Nov 9, 2022
1 parent 1237d1c commit 1e86e02
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/wsl-distro.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
};

Expand Down

0 comments on commit 1e86e02

Please sign in to comment.