dots/hosts/orion/modules/services/docker.nix
Price Hiller 5f9c7f4c26
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 1m4s
feat(nix/host/orion): install docker
2024-06-17 20:26:17 -05:00

22 lines
382 B
Nix

{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
docker
docker-compose
];
virtualisation = {
oci-containers.backend = "docker";
containers.enable = true;
docker = {
enable = true;
rootless = {
enable = true;
setSocketVariable = true;
};
autoPrune.enable = true;
package = pkgs.docker;
};
};
}