Pericyte: Enable Podman

This commit is contained in:
2025-04-30 18:35:22 -04:00
parent 09ca273f3e
commit 0ffee96f6c
2 changed files with 20 additions and 0 deletions

View File

@@ -4,6 +4,7 @@
"${inputs.nixpkgs}/nixos/modules/profiles/headless.nix"
"${inputs.nixpkgs}/nixos/modules/profiles/minimal.nix"
./podman.nix
# ./microvm-configuration.nix
# ./k3s.nix
];

View File

@@ -0,0 +1,19 @@
{ pkgs, ... }: {
# Enable common container config files in /etc/containers
virtualisation.containers.enable = true;
virtualisation = {
podman = {
enable = true;
# 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; [
dive # look into docker image layers
podman-tui # status of containers in the terminal
podman-compose # start group of containers for dev
];
}