Compare commits
3 commits
7ca46b27d1
...
dddd601fd2
| Author | SHA1 | Date | |
|---|---|---|---|
| dddd601fd2 | |||
| 1132547d91 | |||
| e724778fcf |
1 changed files with 18 additions and 1 deletions
|
|
@ -1,14 +1,31 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
catppuccinDelta = pkgs.fetchFromGitHub {
|
||||
owner = "catppuccin";
|
||||
repo = "delta";
|
||||
rev = "main";
|
||||
hash = "sha256-0QQLkfLBVuB2re6tjtPNuOQZNK0MDBAIFgNGHZM8afs=";
|
||||
};
|
||||
in
|
||||
|
||||
{
|
||||
home-manager.users.toast = {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "Toast";
|
||||
userEmail = "toast003@tutamail.com";
|
||||
delta.enable = true;
|
||||
delta = {
|
||||
enable = true;
|
||||
options = {
|
||||
syntax-theme = "catppuccin-mocha";
|
||||
features = "catppuccin-mocha";
|
||||
};
|
||||
};
|
||||
includes = [{ path = "${catppuccinDelta}/themes/mocha.gitconfig"; }];
|
||||
extraConfig = {
|
||||
init.defaultBranch = "main";
|
||||
diff.colorMoved = "default";
|
||||
commit.verbose = "true";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue