Use new system for defining home vars and git email

This commit is contained in:
Evie Litherland-Smith 2023-04-24 10:02:12 +01:00
parent 13de5a2bba
commit a3c55ceede
8 changed files with 26 additions and 44 deletions

View file

@ -3,5 +3,9 @@
./env/xenia.nix ./env/xenia.nix
./tui ./tui
]; ];
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = "xenia";
home.homeDirectory = "/home/xenia";
home.stateVersion = "22.11"; home.stateVersion = "22.11";
} }

View file

@ -1,8 +1,17 @@
{ ... }: { ... }:
{ {
imports = [ imports = [
./env/tux.nix ./env
./env/git/personal.nix
./tui ./tui
]; ];
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = "tux";
home.homeDirectory = "/Users/tux";
home.stateVersion = "22.11"; home.stateVersion = "22.11";
programs.zsh.envExtra = ''
eval "$(/opt/homebrew/bin/brew shellenv)"
'';
} }

View file

@ -1,7 +1,12 @@
{ ... }: { { ... }: {
imports = [ imports = [
./env/user/xenia.nix ./env
./env/git/personal.nix
./tui ./tui
]; ];
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = "xenia";
home.homeDirectory = "/home/xenia";
home.stateVersion = "22.11"; home.stateVersion = "22.11";
} }

View file

@ -1,8 +1,9 @@
{ ... }: { { ... }: {
imports = [ imports = [
./env/xenia.nix
./desktop/gtk.nix ./desktop/gtk.nix
./desktop/wayland.nix ./desktop/wayland.nix
./env
./env/git/personal.nix
./tui ./tui
./gui/firefox.nix ./gui/firefox.nix
./gui/cloud.nix ./gui/cloud.nix
@ -11,5 +12,9 @@
./gui/messaging.nix ./gui/messaging.nix
./gui/nomachine.nix ./gui/nomachine.nix
]; ];
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = "xenia";
home.homeDirectory = "/home/xenia";
home.stateVersion = "22.11"; home.stateVersion = "22.11";
} }

View file

@ -1,12 +0,0 @@
{ ... }:
{
imports = [ ../default.nix ];
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = "elitherl";
home.homeDirectory = "/home/elitherl";
programs.git = {
userEmail = "evie.litherland-smith@ukaea.uk";
};
}

16
home/env/user/tux.nix vendored
View file

@ -1,16 +0,0 @@
{ ... }:
{
imports = [ ../default.nix ];
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = "tux";
home.homeDirectory = "/Users/tux";
programs.git = {
userEmail = "evie@xenia.me.uk";
};
programs.zsh.envExtra = ''
eval "$(/opt/homebrew/bin/brew shellenv)"
'';
}

View file

@ -1,12 +0,0 @@
{ ... }:
{
imports = [ ../default.nix ];
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = "xenia";
home.homeDirectory = "/home/xenia";
programs.git = {
userEmail = "evie@xenia.me.uk";
};
}

View file

@ -18,6 +18,5 @@
# paths it should manage. # paths it should manage.
home.username = "elitherl"; home.username = "elitherl";
home.homeDirectory = "/home/elitherl"; home.homeDirectory = "/home/elitherl";
home.stateVersion = "22.11";
} }