-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# this AppArmor profile needs to be added to /etc/apparmor.d/ and be owned by | ||
# root in order to allow SUID sandbox helper to run, otherwise electron apps | ||
# installed with nix cannot be started | ||
# see: https://github.com/NixOS/nixpkgs/issues/121694 | ||
# see: https://discourse.ubuntu.com/t/ubuntu-24-04-lts-noble-numbat-release-notes/39890#p-99950-unprivileged-user-namespace-restrictions | ||
abi <abi/4.0>, | ||
|
||
include <tunables/global> | ||
|
||
profile nix-electron /nix/store/*-electron-*/**/* flags=(default_allow) { | ||
userns, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters