nixos/apparmor: fix logprof.conf generation

This commit is contained in:
Julien Moutinho
2021-04-23 07:17:56 +02:00
parent fca06b142a
commit 27032f4dd6
+1 -1
View File
@@ -142,7 +142,7 @@ in
passAsFile = [ "header" ];
} ''
cp $headerPath $out
sed -n '/\\[qualifiers\\]/,''${n;p}' $footer > $out
sed '1,/\[qualifiers\]/d' $footer >> $out
'';
boot.kernelParams = [ "apparmor=1" "security=apparmor" ];