6 lines
160 B
Nix
6 lines
160 B
Nix
{username, ...}: {
|
|
virtualisation.docker.rootless.enable = true;
|
|
virtualisation.docker.enable = true;
|
|
users.users.${username}.extraGroups = ["docker"];
|
|
}
|