sops: 配置多机器标准密钥流程

This commit is contained in:
2026-05-17 12:14:00 +08:00
parent 77892cff01
commit 153bd77227
3 changed files with 22 additions and 10 deletions
+11
View File
@@ -0,0 +1,11 @@
{ inputs, pkgs, ... }:
{
imports = [ inputs.sops-nix.nixosModules.sops ];
environment.systemPackages = with pkgs; [
sops
age
];
sops.defaultSopsFormat = "yaml";
}