feat(home:console-tools): add src-cli
This commit is contained in:
parent
d238e2cd5c
commit
dde1dca4f7
4 changed files with 15 additions and 0 deletions
|
|
@ -10,5 +10,6 @@
|
||||||
./starship.nix
|
./starship.nix
|
||||||
./utils.nix
|
./utils.nix
|
||||||
./ssh.nix
|
./ssh.nix
|
||||||
|
./sourcegraph.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
12
home/modules/console/tools/sourcegraph.nix
Normal file
12
home/modules/console/tools/sourcegraph.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -17,5 +17,6 @@ in
|
||||||
starship.enable = mkEnableOption "";
|
starship.enable = mkEnableOption "";
|
||||||
utils.enable = mkEnableOption "";
|
utils.enable = mkEnableOption "";
|
||||||
ffmpeg.enable = mkEnableOption "";
|
ffmpeg.enable = mkEnableOption "";
|
||||||
|
sourcegraph.enable = mkEnableOption "";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@ in
|
||||||
starship.enable = true;
|
starship.enable = true;
|
||||||
utils.enable = true;
|
utils.enable = true;
|
||||||
ffmpeg.enable = true;
|
ffmpeg.enable = true;
|
||||||
|
sourcegraph.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue