feat: 集成 sops-nix 机密管理,声明式注入 Fish 环境变量

This commit is contained in:
2026-04-11 01:48:09 +08:00
parent cdc2bd0646
commit b28b172a01
8 changed files with 115 additions and 26 deletions
+6 -2
View File
@@ -12,12 +12,12 @@
./shell
./dev
./theme.nix
./secrets.nix
];
home = {
username = username;
homeDirectory =
if pkgs.stdenv.isDarwin then "/Users/${username}" else "/home/${username}";
homeDirectory = if pkgs.stdenv.isDarwin then "/Users/${username}" else "/home/${username}";
stateVersion = "24.11";
};
@@ -45,6 +45,10 @@
nvd # nix version diff
nh # nix helper
# Secrets management
sops
age
# AI coding agent
opencode
comment-checker