mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-02-24 13:12:32 -05:00
16 lines
404 B
Nix
16 lines
404 B
Nix
{ pkgs, ... }:
|
|
{
|
|
environment.systemPackages = with pkgs; [
|
|
ddev
|
|
];
|
|
|
|
# There's some one-time setup here
|
|
# ddev config global --router-http-port=8880 --router-https-port=8843
|
|
# There should also be a route for *.ddev.site in our nextdns config
|
|
services.caddy = {
|
|
enable = true;
|
|
virtualHosts."*.ddev.site:80".extraConfig = ''
|
|
reverse_proxy http://localhost:8880
|
|
'';
|
|
};
|
|
}
|