feat(home:console-tools): add src-cli

This commit is contained in:
ooks-io 2024-06-22 23:43:58 +12:00
parent d238e2cd5c
commit dde1dca4f7
4 changed files with 15 additions and 0 deletions

View file

@ -10,5 +10,6 @@
./starship.nix
./utils.nix
./ssh.nix
./sourcegraph.nix
];
}

View file

@ -0,0 +1,12 @@
{ lib, config, pkgs, ... }:
let
inherit (lib) mkIf;
cfg = config.ooknet.tools.sourcegraph;
in
{
config = mkIf cfg.enable {
home.packages = [ pkgs.src-cli ];
};
}

View file

@ -17,5 +17,6 @@ in
starship.enable = mkEnableOption "";
utils.enable = mkEnableOption "";
ffmpeg.enable = mkEnableOption "";
sourcegraph.enable = mkEnableOption "";
};
}

View file

@ -20,6 +20,7 @@ in
starship.enable = true;
utils.enable = true;
ffmpeg.enable = true;
sourcegraph.enable = true;
};
};
}