diffu/machines/sops.nix

33 lines
695 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 = {
owner = "xin";
};
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";
};
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
}