Compare commits

..

No commits in common. "0972cfc810d0f57e30beb4ddb6aa5eaed6e9a237" and "f4c01f1b0ca2f117a6ac5283aab1322c7b75d732" have entirely different histories.

3 changed files with 3 additions and 17 deletions

View file

@ -52,11 +52,11 @@
]
},
"locked": {
"lastModified": 1749657191,
"narHash": "sha256-QLilaHuhGxiwhgceDWESj9gFcKIdEp7+9lRqNGpN8S4=",
"lastModified": 1749526396,
"narHash": "sha256-UL9F76abAk87llXOrcQRjhd5OaOclUd6MIltsqcUZmo=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "faeab32528a9360e9577ff4082de2d35c6bbe1ce",
"rev": "427c96044f11a5da50faf6adaf38c9fa47e6d044",
"type": "github"
},
"original": {

View file

@ -20,23 +20,12 @@ in
example = true;
description = "Generate my job configuration";
};
signing = lib.mkOption {
type = lib.types.bool;
default = false;
example = true;
description = "Sign all commits";
};
};
config = lib.mkIf cfg.enable {
programs.git = {
enable = true;
userName = "Jakub Kropáček";
userEmail = "kropikuba@gmail.com";
signing = lib.mkIf cfg.signing {
format = "openpgp";
key = "4EC6A2C45D75FC86";
signByDefault = true;
};
includes =
if cfg.work-config then
let
@ -44,8 +33,6 @@ in
user = {
email = "jakub.kropacek@olc.cz";
name = "Jakub Kropáček";
signingkey = lib.optionalString cfg.signing "E1464E538D595102";
};
};
in

View file

@ -10,7 +10,6 @@
};
programs.git = {
work-config = true;
signing = true;
};
};
}