migrated to podman
This commit is contained in:
19
system/services/podman.nix
Normal file
19
system/services/podman.nix
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user