mirror of
https://github.com/semere-meb/dotfiles-nix.git
synced 2026-08-03 10:24:36 +00:00
KeePassXC fully integrated: passwords, browser integration, ssh, & service
This commit is contained in:
parent
a8bc48adc0
commit
d74cd9b87c
7 changed files with 71 additions and 8 deletions
|
|
@ -6,6 +6,9 @@
|
|||
...
|
||||
}:
|
||||
|
||||
let
|
||||
useSshSigning = userVars ? sshKey && userVars.sshKey != "";
|
||||
in
|
||||
{
|
||||
home-manager.users."${userVars.username}" = {
|
||||
programs.git = {
|
||||
|
|
@ -16,10 +19,13 @@
|
|||
email = userVars.email;
|
||||
};
|
||||
commit.gpgsign = true;
|
||||
} // (if useSshSigning then {
|
||||
gpg.format = "ssh";
|
||||
} else {
|
||||
gpg.program = "gpg";
|
||||
};
|
||||
});
|
||||
signing = {
|
||||
key = userVars.gpgKey;
|
||||
key = if useSshSigning then userVars.sshKey else userVars.gpgKey;
|
||||
signByDefault = true;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue