8 lines
234 B
Nix
8 lines
234 B
Nix
{ user }:
|
|
{ pkgs, ... }: {
|
|
virtualisation.docker.enable = true;
|
|
virtualisation.docker.autoPrune.enable = true;
|
|
environment.systemPackages = with pkgs; [ docker-compose ];
|
|
users.users.${user.name}.extraGroups = [ "docker" ];
|
|
}
|