generate age key from ssh
This commit is contained in:
@@ -54,12 +54,14 @@
|
|||||||
|
|
||||||
# SOPS config
|
# SOPS config
|
||||||
sops = {
|
sops = {
|
||||||
age.sshKeyPaths = [ "/home/user/.ssh/id_ed25519" ];
|
age.sshKeyPaths = [ "/home/roy/.ssh/id_ed25519" ];
|
||||||
|
age.keyFile = "/persist/home/roy/age-key.txt";
|
||||||
|
age.generateKey = true;
|
||||||
defaultSopsFormat = "json";
|
defaultSopsFormat = "json";
|
||||||
defaultSopsFile = ./secrets/roy.json;
|
defaultSopsFile = ./secrets/roy.json;
|
||||||
secrets.test = {
|
# secrets.test = {
|
||||||
path = "%r/test.txt";
|
# path = "%r/test.txt";
|
||||||
};
|
#};
|
||||||
};
|
};
|
||||||
|
|
||||||
# User services must come after sops secrets
|
# User services must come after sops secrets
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"testSecret": "biggleBlorg"
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user