接入 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
+3
View File
@@ -45,6 +45,7 @@
pkgs = nixpkgs-linux.legacyPackages.x86_64-linux;
modules = [
{ nixpkgs.config.allowUnfreePredicate = _: true; }
inputs.sops-nix.homeManagerModules.sops
./home/hosts/eris.nix
];
extraSpecialArgs = { inherit inputs; };
@@ -54,6 +55,7 @@
pkgs = nixpkgs-linux.legacyPackages.x86_64-linux;
modules = [
{ nixpkgs.config.allowUnfreePredicate = _: true; }
inputs.sops-nix.homeManagerModules.sops
./home/hosts/metis.nix
];
extraSpecialArgs = { inherit inputs; };
@@ -63,6 +65,7 @@
pkgs = nixpkgs-darwin.legacyPackages.aarch64-darwin;
modules = [
{ nixpkgs.config.allowUnfreePredicate = _: true; }
inputs.sops-nix.homeManagerModules.sops
./home/hosts/hypnos.nix
];
extraSpecialArgs = { inherit inputs; };