nixos/home/git.nix
Evie Litherland-Smith 9394a99a4c Move a bunch of default.nix up a level
Loads of expressions were a single default.nix in a directory, instead
just make a single directory
Hyprland is the only directory of expressions left
Move a few things around to fit this a bit better
Add home/default.nix to defer "import all" from flake.nix

Remove work email from default account set up, add to work laptop
specifically and only

Clean up a few unused expressions
2023-09-15 07:13:52 +01:00

35 lines
848 B
Nix

{ lib, pkgs, catppuccin-themes, ... }: {
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";
};
};
gitui = {
enable = true;
theme = builtins.readFile catppuccin-themes.gitui;
};
bat = {
enable = true;
config.theme = "Catppuccin";
themes.Catppuccin = builtins.readFile catppuccin-themes.bat;
};
};
}