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 ];
|
2023-04-22 17:42:40 +00:00
|
|
|
sops = {
|
|
|
|
defaultSopsFile = ./secrets.yaml;
|
2023-09-22 17:12:38 +00:00
|
|
|
# TODO: How to generate this key when bootstrap?
|
2023-04-22 17:42:40 +00:00
|
|
|
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
2023-09-22 17:12:38 +00:00
|
|
|
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
|
|
|
};
|
2023-09-22 17:12:38 +00:00
|
|
|
clash_subscription_link = {
|
2023-11-28 13:38:50 +00:00
|
|
|
owner = "root";
|
2023-09-22 17:12:38 +00:00
|
|
|
};
|
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-09-22 17:12:38 +00:00
|
|
|
};
|
2023-04-22 17:42:40 +00:00
|
|
|
};
|
2023-11-28 13:38:50 +00:00
|
|
|
}
|