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,
|
||||
...
|
||||
}: {
|
||||
home.packages = with pkgs; [
|
||||
git-credential-oauth
|
||||
];
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
delta.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue