git.nix: remove home-manager config
This commit is contained in:
parent
965992fb76
commit
b17c450e27
1 changed files with 22 additions and 10 deletions
|
@ -5,17 +5,29 @@
|
||||||
}: let
|
}: let
|
||||||
inherit (config.modules.other.system) username;
|
inherit (config.modules.other.system) username;
|
||||||
in {
|
in {
|
||||||
home-manager.users.${username} = {
|
programs.git = {
|
||||||
home.packages = with pkgs; [gnupg];
|
enable = true;
|
||||||
programs.git = {
|
lfs.enable = true;
|
||||||
enable = true;
|
config = {
|
||||||
userName = "Charlie Root";
|
user = {
|
||||||
userEmail = "charlie@charlieroot.dev";
|
name = "Charlie Root";
|
||||||
signing = {
|
email = "charlie@charlieroot.dev";
|
||||||
key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILPiRe9OH/VtWFWyy5QbAVcN7CLxr4zUtRCwmxD6aeN6";
|
signingKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILPiRe9OH/VtWFWyy5QbAVcN7CLxr4zUtRCwmxD6aeN6";
|
||||||
signByDefault = true;
|
};
|
||||||
|
init.defaultbranch = "main";
|
||||||
|
branch.autosetupmerge = "true";
|
||||||
|
merge.stat = "true";
|
||||||
|
pull.ff = "only";
|
||||||
|
gpg.format = "ssh";
|
||||||
|
commit.gpgsign = "true";
|
||||||
|
rebase = {
|
||||||
|
autoSquash = true;
|
||||||
|
autoStash = true;
|
||||||
|
};
|
||||||
|
rerere = {
|
||||||
|
enabled = true;
|
||||||
|
autoupdate = true;
|
||||||
};
|
};
|
||||||
extraConfig.gpg.format = "ssh";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue