Compare commits
2 commits
89d9d69fb5
...
3e51630417
Author | SHA1 | Date | |
---|---|---|---|
3e51630417 | |||
c31d21e382 |
2 changed files with 16 additions and 0 deletions
|
@ -14,6 +14,8 @@
|
|||
git = {
|
||||
enable = true;
|
||||
userEmail = "ybarbanneau@sellsy.com";
|
||||
signingKey ="6E1A834E282FBD98B48069444447A19BBEDB8DBA";
|
||||
signByDefault = true;
|
||||
};
|
||||
neovim.enable = true;
|
||||
starship.enable = true;
|
||||
|
|
|
@ -18,6 +18,18 @@ in
|
|||
default = "ephase@xieme-art.org";
|
||||
description = "git email";
|
||||
};
|
||||
|
||||
signingKey = mkOption {
|
||||
type = types.str;
|
||||
default = null;
|
||||
description = "signing key fingerprint";
|
||||
};
|
||||
|
||||
signByDefault = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "activate signing by default";
|
||||
};
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
programs.git = {
|
||||
|
@ -34,6 +46,8 @@ in
|
|||
package = pkgs.gitFull;
|
||||
userName = "${cfg.userName}";
|
||||
userEmail = "${cfg.userEmail}";
|
||||
signing.key = "${cfg.signingKey}";
|
||||
signing.signByDefault = cfg.signByDefault;
|
||||
aliases = {
|
||||
co = "checkout";
|
||||
fa = "fetch --all";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue