From 879e0fa97c11536be02247a0384cbe74ef859b5d Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Mon, 11 May 2026 15:46:06 +0200 Subject: Moved it to system firefox config (and removed useless import) --- system/programs.nix | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'system') diff --git a/system/programs.nix b/system/programs.nix index 483b49a..9db68d9 100644 --- a/system/programs.nix +++ b/system/programs.nix @@ -1,4 +1,19 @@ -{pkgs, ...}: { +{...}: { + # Fix firefox not being properly sandboxed and security + environment.etc."apparmor.d/firefox-local".text = '' + # This profile allows everything and only exists to give the + # application a name instead of having the label "unconfined" + abi , + include + profile firefox-local + /home/mun/bin/firefox/{firefox,firefox-bin,updater} + flags=(unconfined) { + userns, + # Site-specific additions and overrides. See local/README for details. + include if exists + } + ''; + programs.firefox = { enable = true; languagePacks = ["en-GB" "cs" "sk" "de"]; -- cgit v1.2.3