From 6aed6404029fb6abff8f0f5c3b4cce6e51d52308 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Tue, 19 Mar 2024 14:48:23 -0500 Subject: [PATCH] fix(hosts/luna): ensure wrapped `laurel` is available before auditd --- hosts/luna/modules/monitoring/auditd.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/luna/modules/monitoring/auditd.nix b/hosts/luna/modules/monitoring/auditd.nix index ee66503..2b7cb1a 100644 --- a/hosts/luna/modules/monitoring/auditd.nix +++ b/hosts/luna/modules/monitoring/auditd.nix @@ -11,6 +11,8 @@ in { }; auditd.enable = true; }; + # Ensure the wrapped laurel service is available in time for auditd + systemd.services.suid-sgid-wrappers.before = [ "auditd.service" ]; users.groups."${laurel-user}" = { }; users.users."${laurel-user}" = { isSystemUser = true;