nix/modules/services/docker/default.nix

6 lines
160 B
Nix
Raw Normal View History

2024-11-08 18:23:40 +01:00
{username, ...}: {
2024-08-31 17:37:21 +02:00
virtualisation.docker.rootless.enable = true;
virtualisation.docker.enable = true;
2024-11-08 18:23:40 +01:00
users.users.${username}.extraGroups = ["docker"];
2024-08-31 17:37:21 +02:00
}