selinux fix

This commit is contained in:
randogoth 2026-01-14 19:45:46 +02:00
parent 8e33e4fa3f
commit f65c6846f7
4 changed files with 23 additions and 2 deletions

View file

@ -0,0 +1,2 @@
/nix(/.*)? system_u:object_r:bin_t:s0
/var/lib/nix-store(/.*)? system_u:object_r:bin_t:s0

View file

@ -0,0 +1,5 @@
[Service]
# Run the daemon unconfined to avoid SELinux denials on the Nix store binaries.
SELinuxContext=system_u:system_r:unconfined_service_t:s0
ExecStart=
ExecStart=/usr/bin/nix-daemon-wrapper.sh --daemon