Johannes Rothe 2024-10-03 19:30:10 +02:00
parent f639fb31b9
commit 875c360794
2 changed files with 203 additions and 193 deletions

View File

@ -29,18 +29,27 @@
./home/rothe.nix
./home/wayland
];
extraSpecialArgs = {
mail = "mail@johannes-rothe.de";
};
};
"rothe@johannes-powermachine" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
./home/rothe.nix
];
extraSpecialArgs = {
mail = "mail@johannes-rothe.de";
};
};
"rothe@pdemu1cml000301" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
./home/rothe.nix
];
extraSpecialArgs = {
mail = "rothe@magazino.eu";
};
};
};
};

View File

@ -1,6 +1,7 @@
{ config, pkgs, lib, ... }:
{ config, pkgs, lib, mail, ... }:
{
config = {
home.packages = with pkgs; [
black
go
@ -28,18 +29,17 @@
exec sway
end
'';
# TODO make mails configurable
# disable greeting
shellInit = ''
set fish_greeting
fish_add_path ~/bin/
fish_add_path ~/go/bin/
export DEBFULLNAME="Johannes Rothe"
export DEBEMAIL="mail@johannes-rothe.de"
export DEBEMAIL="${mail}"
export GIT_AUTHOR_NAME="Johannes Rothe"
export GIT_AUTHOR_EMAIL="rothe@magazino.eu"
export GIT_AUTHOR_EMAIL="${mail}"
export GIT_COMMITTER_NAME="Johannes Rothe"
export GIT_COMMITTER_EMAIL="rothe@magazino.eu"
export GIT_COMMITTER_EMAIL="${mail}"
export VAULT_ADDR="https://passwords.magazino.eu:8201"
'';
shellAliases = {
@ -53,7 +53,7 @@
programs.git = {
enable = true;
userEmail = "mail@johannes-rothe.de";
userEmail = "${mail}";
userName = "Johannes Rothe";
aliases = {
a = "add";
@ -219,5 +219,6 @@
miniflux-passwordfile ~/.minifluxpw\n
";
};
};
}