接入 sops 管理 SSH 配置与私钥
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user