nix-git/modules/git.nix

23 lines
446 B
Nix
Raw Normal View History

2023-08-31 14:02:30 +02:00
{ config, pkgs, ... }:
{
2023-09-06 14:03:31 +02:00
users.users.yoda = {
packages = with pkgs; [
git
];
};
2023-08-31 14:02:30 +02:00
2023-09-06 14:03:31 +02:00
home-manager.users.yoda = { osConfig, config, pkgs, ... }: {
2023-08-31 14:02:30 +02:00
programs.git = {
enable = true;
userName = "Daniel Langbein";
userEmail = "daniel@systemli.org";
2024-07-07 13:38:39 +02:00
# TODO: Temporary while abroad
#signing.signByDefault = true;
2023-09-07 21:33:24 +02:00
signing.key = null;
2023-08-31 14:02:30 +02:00
aliases = {
#st = "status";
};
};
};
}