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:
parent
d3ac84b6dd
commit
6efc4bd51e
|
@ -8,6 +8,8 @@
|
|||
./services
|
||||
./users.nix
|
||||
|
||||
./modules/docker.nix
|
||||
|
||||
../common
|
||||
../../users/opdavies
|
||||
];
|
||||
|
|
5
nix/hosts/t490/modules/docker.nix
Normal file
5
nix/hosts/t490/modules/docker.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
users.users.opdavies.extraGroups = [ "docker" ];
|
||||
}
|
Loading…
Reference in a new issue