mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-12-01 10:23:57 +01:00
* fix(nixpak): stop exposing the system D-Bus to apps * fix(nixpak): bind only the PulseAudio socket * feat(nixpak): run apps in a new session tied to the launcher * feat(nixpak): start apps from an allowlisted environment * feat(nixpak): isolate app networking with pasta * fix(nixpak): keep Firefox on the host network Assisted-by: Claude Code (claude-opus-5-5)
10 lines
375 B
Nix
10 lines
375 B
Nix
# https://github.com/nixpak/pkgs/blob/master/pkgs/modules/network.nix
|
|
{
|
|
etc.sslCertificates.enable = true;
|
|
bubblewrap.network = true;
|
|
# pasta's default isolate mode gives the app its own loopback, so host
|
|
# services on 127.0.0.1 are out of reach. Proxying still works because
|
|
# mihomo runs in TUN mode, which sees pasta's outbound traffic.
|
|
pasta.enable = true;
|
|
}
|