Compare commits
2 commits
8888c79359
...
cff5e74e23
Author | SHA1 | Date | |
---|---|---|---|
cff5e74e23 | |||
409b9d4144 |
1 changed files with 2 additions and 9 deletions
|
@ -246,16 +246,9 @@ in
|
|||
|
||||
environment = {
|
||||
systemPackages = [
|
||||
# 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
|
||||
'')
|
||||
# TODO(tlater): Figure out a way to get completions to work
|
||||
cscli
|
||||
];
|
||||
|
||||
etc."crowdsec/config.yaml".source = settingsFormat.generate "crowdsec-settings.yaml" cfg.settings;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue