migrated to podman

This commit is contained in:
2024-08-31 21:11:44 +09:00
parent 33e9b6e48f
commit d714d14fcd
2 changed files with 20 additions and 3 deletions

View File

@@ -0,0 +1,19 @@
{ config, pkgs, lib, ... }:
{
virtualisation.containers.enable = true;
virtualisation.podman = {
enable = true;
dockerCompat = true;
defaultNetwork.settings.dns_enabled = true;
};
environment.systemPackages = with pkgs; [
dive
podman-tui
podman-compose
podman-desktop
];
hardware.nvidia-container-toolkit.enable = lib.lists.elem "nvidia" config.services.xserver.videoDrivers;
}