mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-12-05 00:05:04 +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";
|
|
};
|
|
};
|
|
};
|
|
}
|