feat(nixpak): unify desktop app sandboxes (#491)

* refactor(nixpak): unify desktop app sandboxes

Move common GUI, portal, and network policy into reusable modules and migrate browsers plus Zoom/WeChat/QQ/Telegram to the same boundary.

Assisted-by: DeepSeek Harness (deepseek-flash)
This commit is contained in:
ryan4yin | 二花 authored and GitHub committed 2026-10-31 22:27:58 +08:00
1 parent 707da35996
commit 818965a11f
35 files changed
+1858 -565

No files matched your search

@@ -0,0 +1 @@
{ ... }: true
@@ -0,0 +1,11 @@
{ inputs, outputs, ... }:
let
pkgs = outputs.nixosConfigurations.ai-niri.pkgs;
in
import ../../../../hardening/tests/policy.nix {
inherit pkgs;
mkNixPak = inputs.nixpak.lib.nixpak {
inherit pkgs;
inherit (pkgs) lib;
};
}