diff options
| author | Sandro <sandro.jaeckel@gmail.com> | 2022-11-28 10:23:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-28 10:23:34 +0100 |
| commit | 2bb34d04bc866ae4cecd5d23d7fda36bb4832f60 (patch) | |
| tree | f6850915bc0412a9a6b583647cb9a813cc1b8aee /modules | |
| parent | c09d68aeb4a7143aab54ff1409681f6b240eb85e (diff) | |
Disable timesynced (#159)
* Disable timesynced
* Add comments
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/wsl-distro.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/wsl-distro.nix b/modules/wsl-distro.nix index a88b984..9811c70 100644 --- a/modules/wsl-distro.nix +++ b/modules/wsl-distro.nix @@ -101,12 +101,16 @@ 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; "autovt@".enable = false; firewall.enable = false; systemd-resolved.enable = false; + # system clock cannot be changed + systemd-timesyncd.enable = false; + # no udev devices can be attached systemd-udevd.enable = false; }; |
