diff --git a/modules/crowdsec/default.nix b/modules/crowdsec/default.nix index 915ca0b..7658934 100644 --- a/modules/crowdsec/default.nix +++ b/modules/crowdsec/default.nix @@ -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; };