git creds

This commit is contained in:
Mars 2024-05-16 03:56:19 -04:00
parent d54fcaca81
commit 80b6273752
Signed by: pupbrained
GPG key ID: 0FF5B8826803F895
2 changed files with 7 additions and 3 deletions

View file

@ -12,6 +12,7 @@ with pkgs; {
extraConfig = {
init.defaultBranch = "main";
push.autoSetupRemote = true;
credential.helper = "store --file /etc/git-credentials";
};
signing = {

View file

@ -98,15 +98,18 @@ with lib // pkgs // inputs; {
persistence."/persist" = {
hideMounts = true;
directories = [
"/root/.ssh"
"/etc/NetworkManager"
"/etc/secrets"
"/etc/ssh"
"/root/.ssh"
"/var/lib/bluetooth"
"/var/lib/nixos"
"/var/lib/systemd/coredump"
"/etc/NetworkManager"
];
files = ["/etc/machine-id"];
files = [
"/etc/machine-id"
"/etc/git-credentials"
];
};
};