broken config, secrets suck

This commit is contained in:
2025-04-25 01:15:59 -05:00
parent f31ec5fabb
commit 8ac5fedce3
+9
View File
@@ -38,6 +38,15 @@ in
}; };
}; };
# make sure that the transfered sops key is moved to correct directory
system.activationScripts.installSopsKey = {
text = ''
mkdir -p /etc/sops/age
mv /tmp/keys.txt /etc/sops/age/keys.txt
chmod 600 /etc/sops/age/keys.txt
'';
};
systemd.user.services.mbsync.unitConfig.After = [ "sops-nix.service" ]; systemd.user.services.mbsync.unitConfig.After = [ "sops-nix.service" ];
environment.variables = { environment.variables = {