nix-git/modules/git.nix

22 lines
408 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";
2023-09-07 21:33:24 +02:00
signing.signByDefault = true;
signing.key = null;
2023-08-31 14:02:30 +02:00
aliases = {
#st = "status";
};
};
};
}