Evie Litherland-Smith
6b7b76e7bc
email password and git credential helper now use gnome-keyring/secret-service
37 lines
1,004 B
Nix
37 lines
1,004 B
Nix
{ lib, pkgs, catppuccin-themes, gitui, ... }: {
|
|
programs = {
|
|
git = {
|
|
enable = true;
|
|
package = pkgs.gitFull;
|
|
userName = "Evie Litherland-Smith";
|
|
userEmail = lib.mkDefault "evie@xenia.me.uk";
|
|
delta = {
|
|
enable = true;
|
|
options = {
|
|
blame-code-style = "syntax";
|
|
line-numbers = true;
|
|
navigate = true;
|
|
side-by-side = true;
|
|
syntax-theme = "Catppuccin";
|
|
zero-style = "dim syntax";
|
|
};
|
|
};
|
|
extraConfig = {
|
|
pull.rebase = false;
|
|
init.defaultBranch = "main";
|
|
credential.helper = "${pkgs.gitFull}/bin/git-credential-libsecret";
|
|
};
|
|
};
|
|
gitui = {
|
|
enable = true;
|
|
keyConfig = builtins.readFile "${gitui}/vim_style_key_config.ron";
|
|
theme = builtins.readFile catppuccin-themes.gitui;
|
|
};
|
|
bat = {
|
|
enable = true;
|
|
config.theme = "Catppuccin";
|
|
themes.Catppuccin = builtins.readFile catppuccin-themes.bat;
|
|
};
|
|
};
|
|
}
|