This commit is contained in:
Leonardo Eugênio 2025-03-05 14:53:07 -03:00
parent 35d687500b
commit a46a304ae1
10 changed files with 237 additions and 1 deletions

View file

@ -1,5 +1,22 @@
{ pkgs, ... }:
{ 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;