fix: secrets

This commit is contained in:
2025-08-19 14:58:40 -04:00
parent f194c9cfdc
commit 6691dc2b53
2 changed files with 8 additions and 4 deletions

6
flake.lock generated
View File

@@ -347,11 +347,11 @@
}, },
"unstable": { "unstable": {
"locked": { "locked": {
"lastModified": 1754498491, "lastModified": 1755186698,
"narHash": "sha256-erbiH2agUTD0Z30xcVSFcDHzkRvkRXOQ3lb887bcVrs=", "narHash": "sha256-wNO3+Ks2jZJ4nTHMuks+cxAiVBGNuEBXsT29Bz6HASo=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c2ae88e026f9525daf89587f3cbee584b92b6134", "rev": "fbcf476f790d8a217c3eab4e12033dc4a0f6d23c",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -5,7 +5,11 @@
defaultSopsFile = ../../secrets/sops/host/ark/default.yaml; defaultSopsFile = ../../secrets/sops/host/ark/default.yaml;
validateSopsFiles = false; validateSopsFiles = false;
age.keyFile = "/var/lib/sops-nix/key.txt"; age.keyFile = if builtins.pathExists /var/lib/sops-nix/key.txt then
"/var/lib/sops-nix/key.txt"
else
"/home/admin/.config/sops/age/keys.txt" # temp decrypt key
;
secrets = { secrets = {
"host_age_key" = { "host_age_key" = {