WS-KCNHUB/machines/kcnhub/packages/containers.nix

22 lines
480 B
Nix
Raw Normal View History

2023-08-01 10:34:27 -04:00
{ config, lib, pkgs, ... }: {
2023-08-01 10:36:10 -04:00
virtualisation = {
2023-08-01 10:34:27 -04:00
podman = {
enable = true;
};
docker.rootless = {
enable = true;
setSocketVariable = true;
};
# For compatability, and for some reason this isn't able to be per
# container?
oci-containers.backend = "docker";
2023-08-01 10:34:27 -04:00
};
environment.systemPackages = with pkgs; [
# Nicely Make and Run Container Sets
podman-compose
# For Running Simulations Containerized
apptainer
];
}