sops
This commit is contained in:
@@ -19,7 +19,6 @@ in
|
|||||||
# Either the group id or group name representation of the secret group
|
# Either the group id or group name representation of the secret group
|
||||||
# It is recommended to get the group name from `config.users.users.<?name>.group` to avoid misconfiguration
|
# It is recommended to get the group name from `config.users.users.<?name>.group` to avoid misconfiguration
|
||||||
sops = {
|
sops = {
|
||||||
defaultSopsFile = lib.mkForce defaultSops;
|
|
||||||
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||||
|
|
||||||
# ------------------------------
|
# ------------------------------
|
||||||
@@ -27,49 +26,6 @@ in
|
|||||||
# ------------------------------
|
# ------------------------------
|
||||||
secrets = {
|
secrets = {
|
||||||
|
|
||||||
"wifi" = {
|
|
||||||
sopsFile = sharedSops;
|
|
||||||
};
|
|
||||||
|
|
||||||
# ------------------------------
|
|
||||||
# Secureboot keys
|
|
||||||
# ------------------------------
|
|
||||||
|
|
||||||
"secureboot/GUID" = {
|
|
||||||
sopsFile = sharedSops;
|
|
||||||
path = "/etc/secureboot/GUID";
|
|
||||||
mode = "0640";
|
|
||||||
};
|
|
||||||
"secureboot/keys/db-key" = {
|
|
||||||
sopsFile = sharedSops;
|
|
||||||
path = "/etc/secureboot/keys/db/db.key";
|
|
||||||
mode = "0640";
|
|
||||||
};
|
|
||||||
"secureboot/keys/db-pem" = {
|
|
||||||
sopsFile = sharedSops;
|
|
||||||
path = "/etc/secureboot/keys/db/db.pem";
|
|
||||||
mode = "0640";
|
|
||||||
};
|
|
||||||
"secureboot/keys/KEK-key" = {
|
|
||||||
sopsFile = sharedSops;
|
|
||||||
path = "/etc/secureboot/keys/KEK/KEK.key";
|
|
||||||
mode = "0640";
|
|
||||||
};
|
|
||||||
"secureboot/keys/KEK-pem" = {
|
|
||||||
sopsFile = sharedSops;
|
|
||||||
path = "/etc/secureboot/keys/KEK/KEK.pem";
|
|
||||||
mode = "0640";
|
|
||||||
};
|
|
||||||
"secureboot/keys/PK-key" = {
|
|
||||||
sopsFile = sharedSops;
|
|
||||||
path = "/etc/secureboot/keys/PK/PK.key";
|
|
||||||
mode = "0640";
|
|
||||||
};
|
|
||||||
"secureboot/keys/PK-pem" = {
|
|
||||||
sopsFile = sharedSops;
|
|
||||||
path = "/etc/secureboot/keys/PK/PK.pem";
|
|
||||||
mode = "0640";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# ------------------------------
|
# ------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user