接入 sops 管理 SSH 配置与私钥

This commit is contained in:
2026-01-19 23:36:42 +08:00
parent e195cbc591
commit 2f31fbcd6e
13 changed files with 114 additions and 25 deletions
+1 -2
View File
@@ -161,7 +161,7 @@
];
};
security.sudo.wheelNeedsPassword = false;
sops.defaultSopsFile = ./secrets/secrets.yaml;
sops.defaultSopsFile = ../../secrets/ssh-private.yaml;
sops.defaultSopsFormat = "yaml";
sops.age.keyFile = "/home/origami/.config/sops/age/keys.txt";
@@ -171,4 +171,3 @@
services.openssh.enable = true;
system.stateVersion = "23.11";
}