mirror of
https://github.com/genebean/dots.git
synced 2026-05-30 23:35:22 -04:00
Move sensitive git config to private-flake, setup authorized signers
Co-authored-by: Claude <claude@anthropic.com>
This commit is contained in:
parent
59e36c1d3e
commit
cf6d362d6c
20 changed files with 18 additions and 51 deletions
|
|
@ -138,7 +138,6 @@ in
|
|||
"*.swp"
|
||||
".DS_Store"
|
||||
];
|
||||
includes = [ { path = "~/.gitconfig-local"; } ];
|
||||
lfs.enable = true;
|
||||
package = pkgs.gitFull;
|
||||
settings = {
|
||||
|
|
@ -152,6 +151,9 @@ in
|
|||
};
|
||||
gpg = {
|
||||
format = "ssh";
|
||||
ssh = {
|
||||
allowedSignersFile = "${config.home.homeDirectory}/.config/git/allowed_signers";
|
||||
};
|
||||
};
|
||||
merge = {
|
||||
conflictStyle = "diff3";
|
||||
|
|
@ -316,7 +318,6 @@ in
|
|||
history.size = 1000000;
|
||||
initContent = ''
|
||||
[ -f ~/.private-env ] && source ~/.private-env || echo '~/.private-env is missing'
|
||||
[ -f ~/.gitconfig-local ] || echo '~/.gitconfig-local is missing. Create it and set user.email'
|
||||
|
||||
# Start GPG agent
|
||||
# Some tips from https://hedberg.io/yubikey-for-ssh/ helped simplify this:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue