git: Add work config
This commit is contained in:
parent
1fcaa7f7fe
commit
de12e366c9
2 changed files with 17 additions and 0 deletions
3
config/git/config-work-nedeco
Normal file
3
config/git/config-work-nedeco
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[user]
|
||||||
|
email = "d.kempkens@nedeco.de"
|
||||||
|
name = "Daniel Kempkens"
|
|
@ -1,3 +1,8 @@
|
||||||
|
{ config, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
config-work-nedeco = "${config.xdg.configHome}/git/config-work-nedeco";
|
||||||
|
in
|
||||||
{
|
{
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -50,8 +55,17 @@
|
||||||
".DS_Store"
|
".DS_Store"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
includes = [
|
||||||
|
{
|
||||||
|
path = "${config-work-nedeco}";
|
||||||
|
condition = "gitdir:~/Code/Work/";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
delta.options = {
|
delta.options = {
|
||||||
theme = "Dracula";
|
theme = "Dracula";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xdg.configFile."${config-work-nedeco}".source = ../config/git/config-work-nedeco;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue