fix dependency on kernel moduels in firewall service

This commit is contained in:
Daniel Barlow 2024-02-07 16:21:14 +00:00
parent c9e4c1b0da
commit 34291292c0

View file

@ -55,9 +55,11 @@ in
};
};
in svc // {
build = args : (svc.build args) // {
dependencies = [ loadModules ] ++ (svc.dependencies or []);
build = args :
let args' = args // {
dependencies = (args.dependencies or []) ++ [loadModules];
};
in svc.build args' ;
};
# For historical reasons the kernel config is split between