✨ Store git secrets using libsecret
This commit is contained in:
parent
adb963a48d
commit
3552314e69
@ -1,7 +1,10 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [ git-crypt ];
|
||||
home.packages = with pkgs; [
|
||||
git-crypt
|
||||
libsecret
|
||||
];
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
@ -22,6 +25,7 @@
|
||||
extraConfig = {
|
||||
push.autoSetupRemote = true;
|
||||
safe.directory = "/etc/nixos";
|
||||
credential.helper = "${pkgs.git.override { withLibsecret = true; }}/bin/git-credential-libsecret";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user