ark/hosts/tkaronto/modules/secrets.nix

19 lines
484 B
Nix

{
age.identityPaths = ["/persist/keys/ssh_key"];
age.secrets.nixGithubAccessToken.file = ../../../secrets/nixGithubAccessToken.age;
age.secrets.wgTkarontoKey = {
file = ../../../secrets/wgTkarontoKey.age;
mode = "600";
owner = "systemd-network";
group = "systemd-network";
};
age.secrets.nixBuildKey = {
file = ../../../secrets/nixBuildKey.age;
owner = "root";
group = "nix-build-key-access";
};
users.groups."nix-build-key-access" = {};
}