adyya-flake/cluster/virtualisation.mod.nix
Ittihadyya 806a34cf0e
Some checks failed
/ Check formatting (push) Failing after 1m51s
forgot to add config
2024-12-20 21:11:15 +02:00

25 lines
592 B
Nix

{
cluster.modules = [
{
users.users.emv.extraGroups = [
"podman"
];
}
];
sucrose.modules = [
(
{pkgs, config, ...}: {
environment.systemPackages = [pkgs.podman-compose];
virtualisation = {
containers.enable = true;
podman = {
enable = true;
dockerCompat = false;
defaultNetwork.settings.dns_enabled = (config.networking.hostName == "glucose"); # TODO: fix this stupid shit ssometime -e
};
oci-containers.backend = "podman";
};
}
)
];
}