magpie/meta: compact sops file list

This commit is contained in:
Asmir A 2024-04-22 20:17:39 +02:00
parent 654432249a
commit f6105ac717
Signed by: asmir
GPG Key ID: 020C42B7A9ABA3E2

View File

@ -286,52 +286,27 @@
defaults.email = "asmir.abdulahovic@gmail.com"; defaults.email = "asmir.abdulahovic@gmail.com";
}; };
sops.age.sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key"]; sops = {
age.sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key"];
sops.secrets."miniflux_env" = { secrets = {
sopsFile = ./secrets/miniflux.yaml; "asmir_mail_pw_hash".sopsFile = ./secrets/asmir_mail_pw_hash.yaml;
}; "borgbase_enc_key".sopsFile = ./secrets/borgbase_enc_key.yaml;
"borgbase_ssh_key".sopsFile = ./secrets/borgbase_ssh_key.yaml;
sops.secrets."gitea_mail_pw_hash" = { "gitea_mail_pw_hash".sopsFile = ./secrets/gitea_mail_pw_hash.yaml;
sopsFile = ./secrets/gitea_mail_pw_hash.yaml; "miniflux_env".sopsFile = ./secrets/miniflux.yaml;
}; "wg_preshared/mediabox".sopsFile = ../common/secrets/wg_preshared.yaml;
"wg_preshared/nixy".sopsFile = ../common/secrets/wg_preshared.yaml;
sops.secrets."asmir_mail_pw_hash" = { "wg_preshared/workstation".sopsFile = ../common/secrets/wg_preshared.yaml;
sopsFile = ./secrets/asmir_mail_pw_hash.yaml; "wg_privkey".sopsFile = ./secrets/wg_privkey.yaml;
}; "gitea_db" = {
sopsFile = ./secrets/gitea_db.yaml;
sops.secrets."gitea_db" = { owner = config.users.users.gitea.name;
sopsFile = ./secrets/gitea_db.yaml; };
owner = config.users.users.gitea.name; "nextcloud_admin" = {
}; sopsFile = ./secrets/nextcloud_admin.yaml;
owner = config.users.users.nextcloud.name;
sops.secrets."nextcloud_admin" = { };
sopsFile = ./secrets/nextcloud_admin.yaml; };
owner = config.users.users.nextcloud.name;
};
sops.secrets."wg_privkey" = {
sopsFile = ./secrets/wg_privkey.yaml;
};
sops.secrets."wg_preshared/nixy" = {
sopsFile = ../common/secrets/wg_preshared.yaml;
};
sops.secrets."wg_preshared/mediabox" = {
sopsFile = ../common/secrets/wg_preshared.yaml;
};
sops.secrets."wg_preshared/workstation" = {
sopsFile = ../common/secrets/wg_preshared.yaml;
};
sops.secrets."borgbase_enc_key" = {
sopsFile = ./secrets/borgbase_enc_key.yaml;
};
sops.secrets."borgbase_ssh_key" = {
sopsFile = ./secrets/borgbase_ssh_key.yaml;
}; };
networking.hostName = "magpie"; networking.hostName = "magpie";