even more backups of things

This commit is contained in:
Jay Looney 2025-10-28 16:11:45 -05:00
parent b8d125d448
commit 630f9b0074
46 changed files with 1166 additions and 197 deletions

View file

@ -1,13 +1,15 @@
{ inputs, config, ... }:
{ inputs, ... }:
let
secretsPath = builtins.toString inputs.nixos-secrets;
in
{
imports = [
inputs.sops-nix.nixosModules.sops
];
#imports = [ inputs.sops-nix.nixosModules.sops ];
sops = {
defaultSopsFile = "${secretsPath}/${config.hostname}/secrets.yaml";
#defaultSopsFile = "${secretsPath}/${config.hostname}/secrets.yaml";
#defaultSopsFile = "${secretsPath}/global/secrets.yaml";
# TODO: Make this test the hostname.
#defaultSopsFile = "${secretsPath}/lithium/secrets/common.yaml";
defaultSopsFile = "${secretsPath}/lithium/secrets.yaml";
};
}