nixos-config/machines/sops.nix

30 lines
634 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-11-28 13:38:50 +00:00
singbox_sg_server = {
owner = "root";
};
2023-12-06 14:54:22 +00:00
singbox_jp_server = {
owner = "root";
};
singbox_password = {
2023-11-28 13:38:50 +00:00
owner = "root";
};
singbox_uuid = {
2023-11-28 13:38:50 +00:00
owner = "root";
2023-09-26 15:32:52 +00:00
};
};
};
2023-11-28 13:38:50 +00:00
}