fixes and extensions

This commit is contained in:
2024-09-01 23:44:48 +02:00
parent e45a05d026
commit 7adff396c4
14 changed files with 140 additions and 59 deletions

24
modules/nixos/podman.nix Normal file
View File

@@ -0,0 +1,24 @@
{
config,
lib,
pkgs,
...
}:
{
virtualisation.containers.enable = true;
virtualisation = {
podman = {
enable = true;
dockerCompat = false;
# Required for containers under podman-compose to be able to talk to each other.
defaultNetwork.settings.dns_enabled = true;
};
};
# Useful other development tools
environment.systemPackages = with pkgs; [
podman-compose # start group of containers for dev
];
}