add docker module

This commit is contained in:
Mohamed Chrayed 2024-08-24 12:13:14 +02:00
parent a66ce507ab
commit cd83b793bc

View File

@ -0,0 +1,8 @@
{ user, ... }:
{
virtualisation.docker.enable = true;
users.users.${user}.extraGroups = [ "docker" ];
virtualisation.docker.daemon.settings = {
data-root = "/docker/data-root";
};
}