nixos/apparmor: fix logprof.conf generation

This commit is contained in:
Julien Moutinho 2020-12-03 16:25:44 +01:00
parent fca06b142a
commit 27032f4dd6
1 changed files with 1 additions and 1 deletions

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" ];