configure forgejo cli
This commit is contained in:
parent
4ab3b20d9f
commit
3e56f5ffe3
3 changed files with 21 additions and 0 deletions
16
home/cli/forgejo.nix
Normal file
16
home/cli/forgejo.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
|
@ -3,6 +3,10 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
git-credential-oauth
|
||||||
|
];
|
||||||
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
delta.enable = true;
|
delta.enable = true;
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
cli.gpg
|
cli.gpg
|
||||||
cli.git
|
cli.git
|
||||||
cli.github
|
cli.github
|
||||||
|
cli.forgejo
|
||||||
cli.jujutsu
|
cli.jujutsu
|
||||||
|
|
||||||
programs.nvim
|
programs.nvim
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue