{"id":22825365,"url":"https://github.com/crabdancing/nixos-caddy-with-plugins","last_synced_at":"2025-04-14T02:12:12.585Z","repository":{"id":255291608,"uuid":"849071899","full_name":"crabdancing/nixos-caddy-with-plugins","owner":"crabdancing","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-29T04:57:46.000Z","size":10,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T02:12:05.400Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crabdancing.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-28T23:32:12.000Z","updated_at":"2025-03-23T18:32:48.000Z","dependencies_parsed_at":"2024-08-29T04:41:16.874Z","dependency_job_id":"de679d7c-586e-40a7-9bd0-ef26af92a929","html_url":"https://github.com/crabdancing/nixos-caddy-with-plugins","commit_stats":null,"previous_names":["crabdancing/nixos-caddy-with-plugins"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crabdancing%2Fnixos-caddy-with-plugins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crabdancing%2Fnixos-caddy-with-plugins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crabdancing%2Fnixos-caddy-with-plugins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crabdancing%2Fnixos-caddy-with-plugins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crabdancing","download_url":"https://codeload.github.com/crabdancing/nixos-caddy-with-plugins/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248809051,"owners_count":21164896,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-12T17:10:29.979Z","updated_at":"2025-04-14T02:12:12.556Z","avatar_url":"https://github.com/crabdancing.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"With thanks to @airone01 for [helping with getting this fully declarative](https://github.com/NixOS/nixpkgs/issues/14671#issuecomment-2316411251). Also, special thanks to @Nanotwerp -- the core pkg.nix for this nix flake was [written by them (I think)](https://raw.githubusercontent.com/Nanotwerp/nixpkgs/caddy-rebase/pkgs/by-name/ca/caddy/package.nix).\n\nThis repo uses a newer (and better) method than the 'manually call golang commands' one everyone's been using for awhile.\n\nYou can simply call `packages.${pkgs.system}.caddyWithMany` if you want a default collection of plugins, or you can build your on by calling:\n\n```nix\npackages.${pkgs.system}.default.withPlugins {\n  caddyModules = [\n    # example module to integrate\n    {\n      name = \"transform-encoder\";\n      repo = \"github.com/caddyserver/transform-encoder\";\n      # the version is a git hash or revision\n      version = \"f627fc4f76334b7aef8d4ed8c99c7e2bcf94ac7d\";\n    }\n  ];\n  # Change to actual hash once build fails with hash error\n  vendorHash = lib.fakeHash;\n}\n```\n\nI built this for my personal use, but if you have any problems with it, feel free to open an issue. I also accept PRs if you want to improve stuff. I don't know if this repo will really be relevant in 3 months, but for the moment it's kinda useful to have. :)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrabdancing%2Fnixos-caddy-with-plugins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrabdancing%2Fnixos-caddy-with-plugins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrabdancing%2Fnixos-caddy-with-plugins/lists"}