Add specific configs for different git emails

This commit is contained in:
Evie Litherland-Smith 2023-04-24 09:55:29 +01:00
parent 46f9a593ff
commit 13de5a2bba
5 changed files with 24 additions and 4 deletions

View file

@ -2,9 +2,9 @@
{
imports = [
./fonts
./git
./shell
./direnv.nix
./git.nix
./keychain.nix
./nixpkgs.nix
./qemu.nix

View file

@ -1,8 +1,8 @@
{ ... }:
{
imports = [
./ssh.nix
./shell
../ssh.nix
../shell
];
programs.git = {
enable = true;

7
home/env/git/personal.nix vendored Normal file
View file

@ -0,0 +1,7 @@
{ ... }:
{
imports = [ ./default.nix ];
programs.git = {
userEmail = "evie@xenia.me.uk";
};
}

7
home/env/git/work.nix vendored Normal file
View file

@ -0,0 +1,7 @@
{ ... }:
{
imports = [ ./default.nix ];
programs.git = {
userEmail = "evie.litherland-smith@ukaea.uk";
};
}

View file

@ -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";
}