1
0
Fork 0

git: Add work config

This commit is contained in:
Daniel Kempkens 2021-12-30 22:33:41 +01:00
parent 1fcaa7f7fe
commit de12e366c9
2 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,3 @@
[user]
email = "d.kempkens@nedeco.de"
name = "Daniel Kempkens"

View file

@ -1,3 +1,8 @@
{ config, ... }:
let
config-work-nedeco = "${config.xdg.configHome}/git/config-work-nedeco";
in
{
programs.git = {
enable = true;
@ -50,8 +55,17 @@
".DS_Store"
];
includes = [
{
path = "${config-work-nedeco}";
condition = "gitdir:~/Code/Work/";
}
];
delta.options = {
theme = "Dracula";
};
};
xdg.configFile."${config-work-nedeco}".source = ../config/git/config-work-nedeco;
}