sops tweaks

This commit is contained in:
John Lancaster
2025-02-17 01:55:25 -06:00
parent 4e69da43c9
commit 3bd35e7a53
2 changed files with 2 additions and 1 deletions

View File

@@ -27,6 +27,7 @@
"/home" "/home"
"/conf" "/conf"
"/etc/nixos" "/etc/nixos"
"/etc/ssh" # necessary for SOPS nix to have the same keys
]; ];
exclude = [ exclude = [
".cache" ".cache"

View File

@@ -12,6 +12,6 @@
'') '')
(pkgs.writeShellScriptBin "ads" "nix develop --no-pure-eval $(readlink -f /etc/nixos)") (pkgs.writeShellScriptBin "ads" "nix develop --no-pure-eval $(readlink -f /etc/nixos)")
(pkgs.writeShellScriptBin "link-nix" "${builtins.readFile ./link-nix.sh}") (pkgs.writeShellScriptBin "link-nix" "${builtins.readFile ./link-nix.sh}")
(pkgs.writeShellScriptBin "sops-ad" "sops $(readlink -f /etc/nixos)/secrets/secrets.yaml") (pkgs.writeShellScriptBin "sops-ad" "sops $(readlink -f /etc/nixos)/secrets/encrypted_secrets.yaml")
]; ];
} }