adyya-flake/cluster/virtualisation.mod.nix
Ittihadyya 80e93f98b3
Some checks failed
/ Check formatting (push) Failing after 2s
fixed a glaring vulnerability, thank god i caught this -e
2024-12-20 21:23:12 +02:00

29 lines
622 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";
};
}
)
];
}