hosts/xps16: enable apparmor for firefox

This commit is contained in:
2025-11-05 08:43:03 +09:00
parent 52607f7ee6
commit 4ad2f1dc61
2 changed files with 10 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
{ pkgs, ... }:
{
security.apparmor = {
enable = true;
packages = with pkgs; [ apparmor-profiles ];
policies.firefox.path = "${pkgs.apparmor-profiles}/etc/apparmor.d/firefox";
};
}
+2
View File
@@ -3,6 +3,8 @@
imports = [
./hardware-configuration.nix
./apparmor.nix
./services/btrfs.nix
./services/docker.nix
./services/fprintd.nix