diff --git a/src/nix/modules/secrets/secret.nix b/src/nix/modules/secrets/secret.nix index 687f453..8b09fd2 100644 --- a/src/nix/modules/secrets/secret.nix +++ b/src/nix/modules/secrets/secret.nix @@ -17,7 +17,7 @@ in The secret is created with the contents of the file at the specified path. ${secretRef "file"} ''; - type = types.nullOr types.str; + type = types.nullOr (types.either types.path types.str); }; environment = mkOption {