restructured flake

This commit is contained in:
willifan 2025-05-30 14:22:14 +02:00
parent 5c7ae091c1
commit bf3bb961f3
100 changed files with 76 additions and 78 deletions

20
modules/sops/default.nix Normal file
View file

@ -0,0 +1,20 @@
{ ... }:
{
sops.defaultSopsFile = ../../secrets/secrets.yaml;
sops.defaultSopsFormat = "yaml";
sops.age.keyFile = "/etc/sops/keys.txt";
sops.secrets."root_ssh" = {
owner = "root";
path = "/root/.ssh/id_rsa";
};
sops.secrets."syncthing/password" = {
mode = "440";
owner = "willifan";
};
}