mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-23 22:19:33 +01:00
25 lines
476 B
Nix
25 lines
476 B
Nix
{ config, pkgs, ... }:
|
|
{
|
|
users.users.yoda = {
|
|
packages = with pkgs; [
|
|
git
|
|
];
|
|
};
|
|
|
|
home-manager.users.yoda = { osConfig, config, pkgs, ... }: {
|
|
programs.git = {
|
|
enable = true;
|
|
userName = "Daniel Langbein";
|
|
userEmail = "daniel@systemli.org";
|
|
signing.signByDefault = true;
|
|
signing.key = null;
|
|
aliases = {
|
|
#st = "status";
|
|
};
|
|
extraConfig = {
|
|
init.defaultBranch = "main";
|
|
};
|
|
};
|
|
};
|
|
}
|