dots/hosts/luna/modules/docker/default.nix
Price Hiller 02334f5601
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m14s
refactor!: the big nix refactor
2024-05-03 14:35:00 -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;
};
};
}