Add specific configs for different git emails
This commit is contained in:
parent
46f9a593ff
commit
13de5a2bba
2
home/env/default.nix
vendored
2
home/env/default.nix
vendored
|
@ -2,9 +2,9 @@
|
|||
{
|
||||
imports = [
|
||||
./fonts
|
||||
./git
|
||||
./shell
|
||||
./direnv.nix
|
||||
./git.nix
|
||||
./keychain.nix
|
||||
./nixpkgs.nix
|
||||
./qemu.nix
|
||||
|
|
4
home/env/git.nix → home/env/git/default.nix
vendored
4
home/env/git.nix → home/env/git/default.nix
vendored
|
@ -1,8 +1,8 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./ssh.nix
|
||||
./shell
|
||||
../ssh.nix
|
||||
../shell
|
||||
];
|
||||
programs.git = {
|
||||
enable = true;
|
7
home/env/git/personal.nix
vendored
Normal file
7
home/env/git/personal.nix
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [ ./default.nix ];
|
||||
programs.git = {
|
||||
userEmail = "evie@xenia.me.uk";
|
||||
};
|
||||
}
|
7
home/env/git/work.nix
vendored
Normal file
7
home/env/git/work.nix
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [ ./default.nix ];
|
||||
programs.git = {
|
||||
userEmail = "evie.litherland-smith@ukaea.uk";
|
||||
};
|
||||
}
|
|
@ -2,7 +2,8 @@
|
|||
imports = [
|
||||
./desktop/gtk.nix
|
||||
./desktop/wayland.nix
|
||||
./env/elitherl.nix
|
||||
./env
|
||||
./env/git/work.nix
|
||||
./tui
|
||||
./gui/chromium-wayland.nix
|
||||
./gui/neovide.nix
|
||||
|
@ -13,5 +14,10 @@
|
|||
./gui/nomachine.nix
|
||||
./gui/ukaea.nix
|
||||
];
|
||||
# Home Manager needs a bit of information about you and the
|
||||
# paths it should manage.
|
||||
home.username = "elitherl";
|
||||
home.homeDirectory = "/home/elitherl";
|
||||
home.stateVersion = "22.11";
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue