Compare commits

..

2 commits

View file

@ -246,9 +246,16 @@ in
environment = { environment = {
systemPackages = [ systemPackages = [
# TODO(tlater): Figure out a way to get completions to work # To add completions; sadly need to hand-roll this since
cscli # neither `symlinkJoin` nor `buildEnv` have collision
# handling.
(pkgs.runCommandNoCCLocal "cscli" { } ''
mkdir -p $out
ln -s ${cscli}/bin $out/bin
ln -s ${cfg.package}/share $out/share
'')
]; ];
etc."crowdsec/config.yaml".source = settingsFormat.generate "crowdsec-settings.yaml" cfg.settings; etc."crowdsec/config.yaml".source = settingsFormat.generate "crowdsec-settings.yaml" cfg.settings;
}; };