added automatic git signing
This commit is contained in:
parent
c31759fc5e
commit
a53756452f
@ -1,9 +1,13 @@
|
|||||||
{...}: {
|
{...}: {
|
||||||
config.programs.git = {
|
config.programs.git = rec {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
userName = "Kristian Krsnik";
|
userName = "Kristian Krsnik";
|
||||||
userEmail = "git@krsnik.at";
|
userEmail = "git@krsnik.at";
|
||||||
|
signing = {
|
||||||
|
key = userEmail;
|
||||||
|
signByDefault = true;
|
||||||
|
};
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
init.defaultBranch = "main";
|
init.defaultBranch = "main";
|
||||||
};
|
};
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
userSettings = {
|
userSettings = {
|
||||||
|
"git.enableCommitSigning" = true;
|
||||||
"window.menuBarVisibility" = "hidden";
|
"window.menuBarVisibility" = "hidden";
|
||||||
"[nix]" = {
|
"[nix]" = {
|
||||||
"editor.formatOnSave" = true;
|
"editor.formatOnSave" = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user