add another machine, Akun
This commit is contained in:
parent
d159fed672
commit
f36c71bd26
13 changed files with 415 additions and 13 deletions
|
|
@ -28,6 +28,7 @@
|
|||
key fingerprint for sign commit
|
||||
'';
|
||||
};
|
||||
encrypt-credential = lib.mkEnableOption "encrypt git credential";
|
||||
};
|
||||
};
|
||||
config =
|
||||
|
|
@ -62,12 +63,14 @@
|
|||
};
|
||||
};
|
||||
lfs.enable = true;
|
||||
}
|
||||
(lib.mkIf cfg.encrypt-credential {
|
||||
extraConfig = {
|
||||
credential = {
|
||||
helper = "store --file=${config.sops.secrets."git-credential".path}";
|
||||
};
|
||||
};
|
||||
}
|
||||
})
|
||||
(lib.mkIf (cfg.signKey != null) {
|
||||
signing = {
|
||||
signByDefault = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue