1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00

security.wrappers: remove assertion on services.activate-system.enable

The option was removed since it is now always on.
This commit is contained in:
Sam 2024-11-18 00:29:20 -08:00
parent 6a92b148d6
commit 374c57d5a1
No known key found for this signature in database
GPG key ID: 07C4B9795517E3B4

View file

@ -149,10 +149,6 @@ in
###### implementation
config = {
assertions = [
{ assertion = cfg.wrappers != {} -> config.services.activate-system.enable; message = "security.wrappers requires services.activate-system because `/run` is wiped on boot"; }
];
environment.extraInit = ''
# Wrappers override other bin directories.
export PATH="${cfg.wrapperDir}:$PATH"