even more backups of things
This commit is contained in:
parent
b8d125d448
commit
630f9b0074
46 changed files with 1166 additions and 197 deletions
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue