docker root mode

This commit is contained in:
Ivan Kirilov Dimitrov 2024-09-05 11:56:46 +02:00
parent d2bd664f4e
commit 91a32bfdeb
No known key found for this signature in database
GPG Key ID: 0BDAD4B211C49294

View File

@ -293,11 +293,8 @@ top @ { inputs, moduleWithSystem, ... }: {
}); });
containers = moduleWithSystem (_: _: { containers = moduleWithSystem (_: _: {
virtualisation.docker = { virtualisation.docker = {
enable = true;
storageDriver = "btrfs"; storageDriver = "btrfs";
rootless = {
enable = true;
setSocketVariable = true;
};
}; };
users.users.ivand.extraGroups = [ "docker" ]; users.users.ivand.extraGroups = [ "docker" ];
}); });