Compare commits
2 commits
cff5e74e23
...
8888c79359
Author | SHA1 | Date | |
---|---|---|---|
8888c79359 | |||
5f4d4de135 |
1 changed files with 9 additions and 2 deletions
|
@ -246,9 +246,16 @@ in
|
|||
|
||||
environment = {
|
||||
systemPackages = [
|
||||
# TODO(tlater): Figure out a way to get completions to work
|
||||
cscli
|
||||
# To add completions; sadly need to hand-roll this since
|
||||
# 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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue