Show name of systemd units instead of description

This commit is contained in:
Rodrigo Arias 2024-09-27 11:53:52 +02:00
parent e971ce4ae4
commit d4df444a1f
2 changed files with 14 additions and 2 deletions

View File

@ -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 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 hotplug anything. Maybe I can just disable the service, and save 4 minutes (at
least). least).
Disabling udev by just setting `services.udev.enable = false` doesn't work. It
still gets activated by the kernel socket.

View File

@ -14,8 +14,17 @@
# We don't need any firmware # We don't need any firmware
hardware.firmware = lib.mkForce []; hardware.firmware = lib.mkForce [];
# No need for udev # Doesn't work, it gets activated via the kernel socket.
services.udev.enable = false; # # 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 # Prevent executing the nscd program as it seems to hang the CPU
system.activationScripts.users = lib.mkForce ( system.activationScripts.users = lib.mkForce (