Sync Git identity across all hosts

(and also home directory location, but that's sort of standard anyway)
This commit is contained in:
Katherina Walshe-Grey 2024-06-05 21:23:22 +01:00
parent 331d4006c2
commit 050fe2d1a7
2 changed files with 13 additions and 9 deletions

View file

@ -7,8 +7,6 @@
../../home/vscode.nix
];
home.homeDirectory = config.users.users.qenya.home;
home.packages = with pkgs; [
fortune
htop
@ -21,12 +19,6 @@
programs.chromium.enable = true;
programs.firefox.enable = true;
programs.git = {
enable = true;
userName = "Katherina Walshe-Grey";
userEmail = "git@katherina.rocks";
};
home.stateVersion = "23.11";
};
}

View file

@ -13,4 +13,16 @@
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJEmkV9arotms79lJPsLHkdzAac4eu3pYS08ym0sB/on qenya@tohru"
];
};
home-manager.users.qenya = { config, lib, pkgs, osConfig, ... }: {
home.homeDirectory = osConfig.users.users.qenya.home;
programs.git = {
enable = true;
userName = "Katherina Walshe-Grey";
userEmail = "git@katherina.rocks"; # TODO: update email
};
home.stateVersion = "23.11";
};
}