diff options
Diffstat (limited to 'modules')
-rwxr-xr-x | modules/base-client.nix | 8 | ||||
-rwxr-xr-x | modules/base.nix | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/modules/base-client.nix b/modules/base-client.nix index ae95934..f36cd16 100755 --- a/modules/base-client.nix +++ b/modules/base-client.nix @@ -63,4 +63,12 @@ sudo.wheelNeedsPassword = false; }; + systemd.network.wait-online.enable = false; + boot.initrd.systemd.network.wait-online.enable = false; + + # disable all serial ports/consoles + systemd.suppressedSystemUnits = [ + "serial-getty@.service" + ]; + } diff --git a/modules/base.nix b/modules/base.nix index e7a1f9f..116d496 100755 --- a/modules/base.nix +++ b/modules/base.nix @@ -9,6 +9,7 @@ ]; boot = { + initrd.systemd.enable = true; kernelParams = [ "memory_hotplug.memmap_on_memory=1" "memhp_default_state=online" |