configure forgejo cli

This commit is contained in:
xunuwu 2025-06-08 11:15:13 +02:00
parent 4ab3b20d9f
commit 3e56f5ffe3
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
3 changed files with 21 additions and 0 deletions

16
home/cli/forgejo.nix Normal file
View file

@ -0,0 +1,16 @@
{
pkgs,
vars,
...
}: {
home.packages = with pkgs; [codeberg-cli];
# most of these are default except for the url
xdg.configFile."berg-cli/berg.toml".source = (pkgs.formats.toml {}).generate "meli-config" {
base_url = "git.${vars.domain}";
protocol = "https";
no_color = false;
editor = "nvim";
max_width = 80;
};
}