nix/modules/services/docker/default.nix
2024-11-08 18:23:40 +01:00

6 lines
160 B
Nix

{username, ...}: {
virtualisation.docker.rootless.enable = true;
virtualisation.docker.enable = true;
users.users.${username}.extraGroups = ["docker"];
}