git creds
This commit is contained in:
parent
d54fcaca81
commit
80b6273752
|
@ -12,6 +12,7 @@ with pkgs; {
|
|||
extraConfig = {
|
||||
init.defaultBranch = "main";
|
||||
push.autoSetupRemote = true;
|
||||
credential.helper = "store --file /etc/git-credentials";
|
||||
};
|
||||
|
||||
signing = {
|
||||
|
|
|
@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue