mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-08-28 13:57:13 +02:00
security: enable AppArmor (complain) on all Linux hosts
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ mylib, ... }:
|
||||
{
|
||||
imports = mylib.scanPaths ./.;
|
||||
imports = mylib.scanPaths ./. ++ [ (mylib.relativeToRoot "hardening/apparmor") ];
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
mylib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
@@ -15,6 +16,9 @@
|
||||
../base/user-group.nix
|
||||
|
||||
../../base
|
||||
# AppArmor is wired via modules/nixos/base/default.nix for other hosts; this
|
||||
# aarch64 server imports base files individually, so add it explicitly.
|
||||
(mylib.relativeToRoot "hardening/apparmor")
|
||||
];
|
||||
|
||||
# Servers run on the trusted internal LAN (NAT'd; WAN protected at the router).
|
||||
|
||||
Reference in New Issue
Block a user