Compare commits
No commits in common. "0972cfc810d0f57e30beb4ddb6aa5eaed6e9a237" and "f4c01f1b0ca2f117a6ac5283aab1322c7b75d732" have entirely different histories.
0972cfc810
...
f4c01f1b0c
3 changed files with 3 additions and 17 deletions
|
@ -52,11 +52,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1749657191,
|
"lastModified": 1749526396,
|
||||||
"narHash": "sha256-QLilaHuhGxiwhgceDWESj9gFcKIdEp7+9lRqNGpN8S4=",
|
"narHash": "sha256-UL9F76abAk87llXOrcQRjhd5OaOclUd6MIltsqcUZmo=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "faeab32528a9360e9577ff4082de2d35c6bbe1ce",
|
"rev": "427c96044f11a5da50faf6adaf38c9fa47e6d044",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -20,23 +20,12 @@ in
|
||||||
example = true;
|
example = true;
|
||||||
description = "Generate my job configuration";
|
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 {
|
config = lib.mkIf cfg.enable {
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
userName = "Jakub Kropáček";
|
userName = "Jakub Kropáček";
|
||||||
userEmail = "kropikuba@gmail.com";
|
userEmail = "kropikuba@gmail.com";
|
||||||
signing = lib.mkIf cfg.signing {
|
|
||||||
format = "openpgp";
|
|
||||||
key = "4EC6A2C45D75FC86";
|
|
||||||
signByDefault = true;
|
|
||||||
};
|
|
||||||
includes =
|
includes =
|
||||||
if cfg.work-config then
|
if cfg.work-config then
|
||||||
let
|
let
|
||||||
|
@ -44,8 +33,6 @@ in
|
||||||
user = {
|
user = {
|
||||||
email = "jakub.kropacek@olc.cz";
|
email = "jakub.kropacek@olc.cz";
|
||||||
name = "Jakub Kropáček";
|
name = "Jakub Kropáček";
|
||||||
|
|
||||||
signingkey = lib.optionalString cfg.signing "E1464E538D595102";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
};
|
};
|
||||||
programs.git = {
|
programs.git = {
|
||||||
work-config = true;
|
work-config = true;
|
||||||
signing = true;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue