mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-25 21:30:52 +01:00
Trying automatically adding gpg key
This commit is contained in:
parent
cdcf91798b
commit
eb517d5692
2 changed files with 11 additions and 1 deletions
|
@ -18,5 +18,13 @@ with lib;
|
|||
key = "3C68E13964FEA07F";
|
||||
};
|
||||
};
|
||||
|
||||
home.extraActivationPath = [ pkgs.gnupg ];
|
||||
home.activation =
|
||||
{
|
||||
myActivationAction = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
||||
gpg --import /run/secrets/git-gpg-private-key
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -16,7 +16,9 @@ with lib;
|
|||
};
|
||||
|
||||
sops.secrets.sendinblue-mail-passwd = {};
|
||||
sops.secrets.git-gpg-private-key = {};
|
||||
sops.secrets.git-gpg-private-key = {
|
||||
owner = "julien";
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue