30 lines
1 KiB
Nix
30 lines
1 KiB
Nix
{ pkgs, config, ... }:
|
|
{
|
|
environment.systemPackages = with pkgs; [
|
|
sops-master
|
|
gnupg
|
|
];
|
|
|
|
sops = {
|
|
package = pkgs.sops-master;
|
|
|
|
defaultSopsFile = ../secrets/test.yaml;
|
|
|
|
secrets.hello = { };
|
|
};
|
|
|
|
environment.etc."teste-sops" = {
|
|
text = config.sops.secrets.hello.path;
|
|
};
|
|
|
|
age = {
|
|
identityPaths = [ "/root/.ssh/id_rsa" ];
|
|
secrets.lelgenio-cachix.file = ../secrets/lelgenio-cachix.age;
|
|
secrets.monolith-gitlab-runner-thoreb-itinerario-registrationConfigFile.file = ../secrets/monolith-gitlab-runner-thoreb-itinerario-registrationConfigFile.age;
|
|
secrets.gitlab-runner-thoreb-telemetria-registrationConfigFile.file = ../secrets/gitlab-runner-thoreb-telemetria-registrationConfigFile.age;
|
|
secrets.monolith-forgejo-runner-token.file = ../secrets/monolith-forgejo-runner-token.age;
|
|
secrets.monolith-nix-serve-privkey.file = ../secrets/monolith-nix-serve-privkey.age;
|
|
secrets.phantom-forgejo-mailer-password.file = ../secrets/phantom-forgejo-mailer-password.age;
|
|
};
|
|
}
|