home: add home flake, decentralize git username config
This commit is contained in:
parent
3c818d02b2
commit
0aa28a90f2
6 changed files with 19 additions and 2 deletions
|
@ -6,6 +6,7 @@
|
|||
homeManagerModules = {
|
||||
dev = import ./home/dev;
|
||||
work = import ./home/work;
|
||||
home = import ./home/home;
|
||||
default = import ./home;
|
||||
};
|
||||
|
||||
|
|
|
@ -13,8 +13,6 @@
|
|||
# difftastic.enable = true;
|
||||
# https://difftastic.wilfred.me.uk/git.html
|
||||
# https://tsdh.org/posts/2022-08-01-difftastic-diffing-with-magit.html
|
||||
userEmail = "esmith@true-helix.com";
|
||||
userName = "Evar Smith";
|
||||
extraConfig = {
|
||||
init.defaultBranch = "integration";
|
||||
|
||||
|
|
5
home/home/default.nix
Normal file
5
home/home/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
imports = [
|
||||
./git.nix
|
||||
];
|
||||
}
|
6
home/home/git.nix
Normal file
6
home/home/git.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
programs.git = {
|
||||
userEmail = "git@evar.dev";
|
||||
userName = "Evar";
|
||||
};
|
||||
}
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
./xfreerdp.nix
|
||||
./git.nix
|
||||
];
|
||||
}
|
6
home/work/git.nix
Normal file
6
home/work/git.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
programs.git = {
|
||||
userEmail = "git@evar.dev";
|
||||
userName = "Evar Smith";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue