host/oparic: update container-flake, mount sops age key into container

This commit is contained in:
2026-05-17 19:34:07 +08:00
parent 8aac9b5cbc
commit ae0fc05e6d
2 changed files with 8 additions and 4 deletions
Generated
+4 -4
View File
@@ -15,11 +15,11 @@
"staging-workflows": "staging-workflows" "staging-workflows": "staging-workflows"
}, },
"locked": { "locked": {
"lastModified": 1779014706, "lastModified": 1779016756,
"narHash": "sha256-9SyqrkzIyBwonOuIKPfP3QyabH4Mi3tK1e4ObvL6sZE=", "narHash": "sha256-3JVsqxbWOQTl8i1o8xq4WXXuWzZukAIXrGff266SkeE=",
"ref": "refs/heads/feat/o4dev", "ref": "refs/heads/feat/o4dev",
"rev": "9f42ff4a8a6fda0a81a4f399857ee479301d55fa", "rev": "4223b65050b99382ddaaa366cf046035a4ce847c",
"revCount": 24, "revCount": 25,
"type": "git", "type": "git",
"url": "ssh://gitea@git.inclyc.cn:20122/oparic/container-flake" "url": "ssh://gitea@git.inclyc.cn:20122/oparic/container-flake"
}, },
+4
View File
@@ -140,6 +140,10 @@
hostPath = "/home/origami/data"; hostPath = "/home/origami/data";
isReadOnly = false; isReadOnly = false;
}; };
bindMounts."/var/lib/sops-nix/key.txt" = {
hostPath = "/home/origami/data/sops-age-key.txt";
isReadOnly = true;
};
forwardPorts = [{ forwardPorts = [{
containerPort = 80; containerPort = 80;
hostPort = 40000; hostPort = 40000;