Skip to content

Commit

Permalink
Add mongosh to system packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucus16 committed Oct 13, 2024
1 parent 0b064d6 commit ca25582
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix/services/kn/shared.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ in {
# TODO: limit access to mongodb
services.mongodb.enable = true;
users.groups.infra = {};
# socket activation
environment.systemPackages = [(
pkgs.mongosh
pkgs.runCommandNoCC "knshell" { buildInputs = [ pkgs.makeWrapper ]; } ''
makeWrapper ${pkgs.kninfra}/bin/shell $out/bin/knshell \
${lib.concatStringsSep " " (lib.mapAttrsToList (n: v: ''--set "${n}" "${v}"'') cfg.env)}
Expand Down

0 comments on commit ca25582

Please sign in to comment.