nix-config/nixos/_mixins/virt/docker.nix

14 lines
274 B
Nix

{ pkgs, lib, config, ... }: {
# https://nixos.wiki/wiki/Docker
environment.systemPackages = with pkgs; [ docker-compose ];
virtualisation.docker = {
enable = true;
# rootless = { TODO
# enable = true;
# setSocketVariable = true;
# };
};
}