feat(git): use soft secrets to handle email and signing key
This commit is contained in:
parent
55517dba81
commit
8bf663b78a
3 changed files with 10 additions and 11 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
{ lib, config, pkgs, inputs, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.cli.git;
|
||||
|
@ -15,19 +15,19 @@ in
|
|||
|
||||
userEmail = mkOption {
|
||||
type = types.str;
|
||||
default = "ephase@xieme-art.org";
|
||||
default = inputs.nix-private.git.personal.userEmail;
|
||||
description = "git email";
|
||||
};
|
||||
|
||||
signingKey = mkOption {
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
default = inputs.nix-private.git.personal.signingKey;
|
||||
description = "signing key fingerprint";
|
||||
};
|
||||
|
||||
signByDefault = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
default = true;
|
||||
description = "activate signing by default";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue