From 4f9e98905e1ba032cd0fa76145994448d86f107f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Mon, 1 Jan 2024 17:26:38 +0100 Subject: [PATCH] nixos/auditd: fix typo Would otherwise fail with ``` error: A definition for option `systemd.services.auditd.conflicts."[definition 1-entry 1]"' is not of type `string matching the pattern [a-zA-Z0-9@%:_.\-]+[.](service|socket|device|mount|automount|swap|target|path|timer|scope|slice)'. Definition values: - In `/nix/store/x2khl2yx0vz2i357x7mz5xm1kagql8ag-source/nixos/modules/security/auditd.nix': "shutdown.target " ``` --- nixos/modules/security/auditd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/security/auditd.nix b/nixos/modules/security/auditd.nix index 12d5831619ad..253ee1d4dd0e 100644 --- a/nixos/modules/security/auditd.nix +++ b/nixos/modules/security/auditd.nix @@ -14,7 +14,7 @@ with lib; description = "Linux Audit daemon"; wantedBy = [ "basic.target" ]; before = [ "shutdown.target" ]; - conflicts = [ "shutdown.target "]; + conflicts = [ "shutdown.target" ]; unitConfig = { ConditionVirtualization = "!container";