git creds
This commit is contained in:
parent
d54fcaca81
commit
80b6273752
|
@ -12,6 +12,7 @@ with pkgs; {
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
init.defaultBranch = "main";
|
init.defaultBranch = "main";
|
||||||
push.autoSetupRemote = true;
|
push.autoSetupRemote = true;
|
||||||
|
credential.helper = "store --file /etc/git-credentials";
|
||||||
};
|
};
|
||||||
|
|
||||||
signing = {
|
signing = {
|
||||||
|
|
|
@ -98,15 +98,18 @@ with lib // pkgs // inputs; {
|
||||||
persistence."/persist" = {
|
persistence."/persist" = {
|
||||||
hideMounts = true;
|
hideMounts = true;
|
||||||
directories = [
|
directories = [
|
||||||
"/root/.ssh"
|
"/etc/NetworkManager"
|
||||||
"/etc/secrets"
|
"/etc/secrets"
|
||||||
"/etc/ssh"
|
"/etc/ssh"
|
||||||
|
"/root/.ssh"
|
||||||
"/var/lib/bluetooth"
|
"/var/lib/bluetooth"
|
||||||
"/var/lib/nixos"
|
"/var/lib/nixos"
|
||||||
"/var/lib/systemd/coredump"
|
"/var/lib/systemd/coredump"
|
||||||
"/etc/NetworkManager"
|
|
||||||
];
|
];
|
||||||
files = ["/etc/machine-id"];
|
files = [
|
||||||
|
"/etc/machine-id"
|
||||||
|
"/etc/git-credentials"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue