diff --git a/JOURNAL.md b/JOURNAL.md index 27d7870..5070077 100644 --- a/JOURNAL.md +++ b/JOURNAL.md @@ -4294,3 +4294,6 @@ Here is the FPGA startup services by duration: It doesn't make much sense to have udev on the FPGA, as we are not going to hotplug anything. Maybe I can just disable the service, and save 4 minutes (at least). + +Disabling udev by just setting `services.udev.enable = false` doesn't work. It +still gets activated by the kernel socket. diff --git a/lagarto-ox.nix b/lagarto-ox.nix index 36644d8..c850fbd 100644 --- a/lagarto-ox.nix +++ b/lagarto-ox.nix @@ -14,8 +14,17 @@ # We don't need any firmware hardware.firmware = lib.mkForce []; - # No need for udev - services.udev.enable = false; + # Doesn't work, it gets activated via the kernel socket. + # # No need for udev + # services.udev.enable = false; + # systemd.suppressedSystemUnits = [ + # "systemd-udev-trigger.service" + # ]; + + # Output the unit name so we can remove it + systemd.extraConfig = '' + StatusUnitFormat=name + ''; # Prevent executing the nscd program as it seems to hang the CPU system.activationScripts.users = lib.mkForce (