t490: add docker

Add Docker which is needed by DDEV, which I need to quickly get HTTP and
SSL running for a project.

There is https://devenv.sh/blog/2023/03/02/devenv-06-generating-containers-and-instant-shell-activation/#hosts-and-certificates
that mentions provisioning certificates for a local domain name, which
is something I'll look at in the future.
This commit is contained in:
Oliver Davies 2025-01-20 00:50:02 +00:00
parent d3ac84b6dd
commit 6efc4bd51e
2 changed files with 7 additions and 0 deletions

View file

@ -8,6 +8,8 @@
./services
./users.nix
./modules/docker.nix
../common
../../users/opdavies
];

View file

@ -0,0 +1,5 @@
{
virtualisation.docker.enable = true;
users.users.opdavies.extraGroups = [ "docker" ];
}