diff --git a/flake.nix b/flake.nix index 5594599..b6ed513 100644 --- a/flake.nix +++ b/flake.nix @@ -35,6 +35,10 @@ ./modules ./users sops-nix.nixosModules.sops + ({ self, ... }: { + sops.defaultSopsFile = "${self}/secrets/secrets.yaml"; + sops.age.keyFile = "/var/lib/sops-nix/key.txt"; + }) ]; hosts = {