ark/hosts/tkaronto/modules/secrets.nix

19 lines
484 B
Nix
Raw Permalink Normal View History

2023-05-05 01:54:16 +03:00
{
2023-05-08 23:09:44 +03:00
age.identityPaths = ["/persist/keys/ssh_key"];
2023-05-05 03:50:25 +03:00
2023-05-05 01:54:16 +03:00
age.secrets.nixGithubAccessToken.file = ../../../secrets/nixGithubAccessToken.age;
2023-05-08 23:09:44 +03:00
age.secrets.wgTkarontoKey = {
file = ../../../secrets/wgTkarontoKey.age;
mode = "600";
owner = "systemd-network";
group = "systemd-network";
};
2023-05-09 02:58:14 +03:00
age.secrets.nixBuildKey = {
file = ../../../secrets/nixBuildKey.age;
owner = "root";
group = "nix-build-key-access";
};
users.groups."nix-build-key-access" = {};
2023-05-05 01:54:16 +03:00
}