nixos/home/modules/lazygit.nix
2024-06-30 09:51:57 -07:00

22 lines
410 B
Nix

{ lib, config, ... }:
let
cfg = config.snowhawk.lazygit;
in
{
options.snowhawk.lazygit = {
enable = lib.mkEnableOption "lazygit";
};
config = lib.mkIf cfg.enable {
programs.lazygit = {
enable = true;
settings = {
services = {
"\"git.zynh.me\"" = "gitea:git.zynh.me";
"\"git.nullcube.net\"" = "gitea:git.nullcube.net";
};
};
};
};
}