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

15 lines
274 B
Nix
Raw Normal View History

2023-10-16 18:46:06 +00:00
{ pkgs, lib, config, ... }: {
# https://nixos.wiki/wiki/Docker
environment.systemPackages = with pkgs; [ docker-compose ];
virtualisation.docker = {
enable = true;
2023-10-18 13:29:40 +00:00
# rootless = { TODO
# enable = true;
# setSocketVariable = true;
# };
2023-10-16 18:46:06 +00:00
};
}