feat: adapt oci sync to new structure

This commit is contained in:
Swarsel 2024-12-15 17:18:27 +01:00
parent a26a53c824
commit d9a72d44ea
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
5 changed files with 73 additions and 166 deletions

View file

@ -1,8 +1,8 @@
{ config, ... }:
{ config, lib, ... }:
{
sops = {
age.sshKeyPaths = [ "/etc/ssh/sops" ];
defaultSopsFile = "${config.swarselsystems.flakePath}/secrets/server/winters/secrets.yaml";
age.sshKeyPaths = lib.mkDefault [ "/etc/ssh/sops" ];
defaultSopsFile = lib.mkDefault "${config.swarselsystems.flakePath}/secrets/server/winters/secrets.yaml";
validateSopsFiles = false;
};