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, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
catppuccinDelta = pkgs.fetchFromGitHub {
|
||||||
|
owner = "catppuccin";
|
||||||
|
repo = "delta";
|
||||||
|
rev = "main";
|
||||||
|
hash = "sha256-0QQLkfLBVuB2re6tjtPNuOQZNK0MDBAIFgNGHZM8afs=";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
home-manager.users.toast = {
|
home-manager.users.toast = {
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
userName = "Toast";
|
userName = "Toast";
|
||||||
userEmail = "toast003@tutamail.com";
|
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 = {
|
extraConfig = {
|
||||||
init.defaultBranch = "main";
|
init.defaultBranch = "main";
|
||||||
|
diff.colorMoved = "default";
|
||||||
commit.verbose = "true";
|
commit.verbose = "true";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue