hmApps, refactor, clean up, break groups
This commit is contained in:
parent
49cb3c949c
commit
7cc650aea6
32 changed files with 13 additions and 69 deletions
|
|
@ -1,25 +0,0 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
options.git = {
|
||||
enable = lib.mkEnableOption "Enables git";
|
||||
username = lib.mkOption { default = config.home.username; };
|
||||
email = lib.mkOption {
|
||||
default = "git@" + config.home.username + ".com";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf config.git.enable {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = config.git.username;
|
||||
userEmail = config.git.email;
|
||||
extraConfig = {
|
||||
user.signingkey = "${config.home.homeDirectory}/.ssh/id_ed25519.pub";
|
||||
gpg.format = "ssh";
|
||||
commit.gpgSign = "true";
|
||||
tag.gpgSign = "true";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue