make vesktop work
This commit is contained in:
parent
e072d9e4a5
commit
d6e4ce8850
1 changed files with 22 additions and 2 deletions
|
@ -18,9 +18,29 @@ in
|
|||
security.apparmor.enable = true;
|
||||
|
||||
security.apparmor.includes = {
|
||||
vesktop = ''include "${apparmor-d}/etc/apparmor.d/profiles-s-z/vesktop"'';
|
||||
"local/vesktop" = ''
|
||||
# @{lib}/libdl.so* mr,
|
||||
# @{lib}/libglapi.so* mr,
|
||||
# @{lib}/libc.so* mr,
|
||||
# @{lib}/pluseaudio/** mr,
|
||||
|
||||
@{bin}/electron rix,
|
||||
/nix/store/*/libexec/electron/** rix,
|
||||
|
||||
/nix/store/*/bin/** mr,
|
||||
/nix/store/*/lib/** mr,
|
||||
/nix/store/** r,
|
||||
'';
|
||||
};
|
||||
|
||||
security.apparmor.policies = {};
|
||||
security.apparmor.policies = {
|
||||
vesktop = {
|
||||
enable = true;
|
||||
enforce = true;
|
||||
profile = ''
|
||||
include "${apparmor-d}/etc/apparmor.d/profiles-s-z/vesktop"
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue