mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 12:15:34 +03:00
nixos/apparmor: use security.lsm option
This commit is contained in:
parent
b8402295a4
commit
6fb5b22821
1 changed files with 2 additions and 4 deletions
|
@ -200,10 +200,8 @@ in
|
|||
sed '1,/\[qualifiers\]/d' $footer >> $out
|
||||
'';
|
||||
|
||||
boot.kernelParams = [
|
||||
"apparmor=1"
|
||||
"security=apparmor"
|
||||
];
|
||||
boot.kernelParams = [ "apparmor=1" ];
|
||||
security.lsm = [ "apparmor" ];
|
||||
|
||||
systemd.services.apparmor = {
|
||||
after = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue