From d4df444a1fc6c9eb243a5ab016e1768e87cb5335 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Fri, 27 Sep 2024 11:53:52 +0200 Subject: [PATCH] Show name of systemd units instead of description --- JOURNAL.md | 3 +++ lagarto-ox.nix | 13 +++++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) 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 (