diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 92530d2..367b86c 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -35,6 +35,12 @@ key = "minioCredentials"; format = "yaml"; }; + + "tests-service" = { + sopsFile = ./secrets/tests-service.yaml; + key = "credentials"; + format = "yaml"; + }; }; }; @@ -69,6 +75,7 @@ services.tests-service = { enable = true; port = 8080; + credentialsFile = config.sops.secrets."tests-service".path; default-nginx = { enable = true; hostname = "test.roypository.com";