Update common/configuration.nix
This commit is contained in:
@@ -63,14 +63,23 @@ nix.settings = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
# programs.git = {
|
||||||
|
# enable = true;
|
||||||
|
# package = pkgs.git;
|
||||||
|
# config = {
|
||||||
|
# credential.helper = "store";
|
||||||
|
# };
|
||||||
|
# };
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.git;
|
package = pkgs.git;
|
||||||
config = {
|
config = {
|
||||||
credential.helper = "store";
|
credential = {
|
||||||
|
helper = "store --file=/home/nixos/.git-credentials";
|
||||||
|
useHttpPath = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user