Changed: Modules

This commit is contained in:
2025-04-03 12:50:08 +02:00
parent 775737fd18
commit b84ca8ac24
13 changed files with 218 additions and 173 deletions

34
modules/podman.nix Normal file
View File

@@ -0,0 +1,34 @@
{ pkgs, ...}:
{
environment.packages = with pkgs; [
# Virtualisation
podman-compose # docker-compose alternative
dive # docker layer viewer
podman-tui # status of containers in terminal
podman-desktop # Desktop client
tailscale # Vpn
];
# Virtualisation
virtualisation = {
containers.enable = true;
podman = {
enable = true;
dockerCompat = true;
defaultNetwork.settings.dns_enabled = true;
};
oci-containers = {
backend = "podman";
containers = {
/*container-name = {
image = "image";
autoStart = true;
ports = [ "127.0.0.1:1234:1234" ];
};*/
};
};
};
}