From e20e112b9532486ea75ca7148e53a7279592370a Mon Sep 17 00:00:00 2001 From: Sebastian Moser Date: Tue, 23 Apr 2024 23:33:33 +0200 Subject: [PATCH] disable swap device, because systemd would wait 1.5 min for it on boot --- hardware/hpm-laptop.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hardware/hpm-laptop.nix b/hardware/hpm-laptop.nix index a8e03a8..d75bc2e 100755 --- a/hardware/hpm-laptop.nix +++ b/hardware/hpm-laptop.nix @@ -35,9 +35,9 @@ fsType = "vfat"; }; - swapDevices = [ - { device = "/dev/disk/by-uuid/418bf0d8-e548-45d5-802a-53de72707ebc"; } - ]; + #swapDevices = [ + #{ device = "/dev/disk/by-uuid/418bf0d8-e548-45d5-802a-53de72707ebc"; } + #]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's