feat: gpg stuff
This commit is contained in:
parent
d4a278f7ff
commit
031ceb122f
7 changed files with 26 additions and 15 deletions
|
|
@ -15,6 +15,7 @@ in
|
|||
description = "the git user Name";
|
||||
type = lib.types.str;
|
||||
};
|
||||
do_sign = lib.mkEnableOption "enable commit signing";
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -27,6 +28,7 @@ in
|
|||
init = { defaultBranch = "main"; };
|
||||
safe.directory = "/etc/nixos";
|
||||
pull.rebase = false;
|
||||
commit.gpgsign = cfg.do_sign;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue