diffu/machines/sops.nix

36 lines
758 B
Nix
Raw Normal View History

2023-11-28 13:38:50 +00:00
{ inputs, ... }:
2023-04-19 06:16:39 +00:00
{
2023-11-28 13:38:50 +00:00
imports = [ inputs.sops-nix.nixosModules.sops ];
sops = {
defaultSopsFile = ./secrets.yaml;
# TODO: How to generate this key when bootstrap?
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
secrets = {
2023-12-01 14:22:43 +00:00
github_public_token = {
2023-12-06 14:54:22 +00:00
owner = "root";
2023-12-01 14:22:43 +00:00
};
clash_subscription_link = {
2023-11-28 13:38:50 +00:00
owner = "root";
};
2023-09-26 15:32:52 +00:00
singbox_password = {
2023-11-28 13:38:50 +00:00
owner = "root";
2023-09-26 15:32:52 +00:00
};
singbox_domain = {
2023-11-28 13:38:50 +00:00
owner = "root";
};
singbox_sg_server = {
owner = "root";
};
2023-12-06 14:54:22 +00:00
singbox_jp_server = {
owner = "root";
};
2023-11-28 13:38:50 +00:00
singbox_sg_password = {
owner = "root";
};
singbox_sg_uuid = {
owner = "root";
2023-09-26 15:32:52 +00:00
};
};
};
2023-11-28 13:38:50 +00:00
}