2024-03-10 00:20:39 -08:00
|
|
|
{pkgs, ...}: {
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
2024-03-10 00:44:38 -08:00
|
|
|
awscli2
|
|
|
|
bitwarden-cli
|
2024-03-10 00:20:39 -08:00
|
|
|
ddev
|
|
|
|
mkcert
|
|
|
|
php81
|
|
|
|
polypane
|
|
|
|
vault
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
# DDev setup
|
|
|
|
# Install & enable docker.
|
|
|
|
virtualisation.docker.enable = true;
|
|
|
|
|
|
|
|
# Allow Xdebug to use port 9003.
|
|
|
|
networking.firewall.allowedTCPPorts = [ 9000 9003 ];
|
|
|
|
|
|
|
|
# Make it possible for ddev to modify the /etc/hosts file.
|
|
|
|
# Otherwise you'll have to manually change the
|
|
|
|
# hosts configuration after creating a new ddev project.
|
|
|
|
environment.etc.hosts.mode = "0644";
|
|
|
|
|
|
|
|
}
|