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 = [ imports = [
./fonts ./fonts
./git
./shell ./shell
./direnv.nix ./direnv.nix
./git.nix
./keychain.nix ./keychain.nix
./nixpkgs.nix ./nixpkgs.nix
./qemu.nix ./qemu.nix

View file

@ -1,8 +1,8 @@
{ ... }: { ... }:
{ {
imports = [ imports = [
./ssh.nix ../ssh.nix
./shell ../shell
]; ];
programs.git = { programs.git = {
enable = true; 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 = [ imports = [
./desktop/gtk.nix ./desktop/gtk.nix
./desktop/wayland.nix ./desktop/wayland.nix
./env/elitherl.nix ./env
./env/git/work.nix
./tui ./tui
./gui/chromium-wayland.nix ./gui/chromium-wayland.nix
./gui/neovide.nix ./gui/neovide.nix
@ -13,5 +14,10 @@
./gui/nomachine.nix ./gui/nomachine.nix
./gui/ukaea.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"; home.stateVersion = "22.11";
} }