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

@@ -12,7 +12,7 @@
../../system/services/steam.nix ../../system/services/steam.nix
../../system/services/tailscale.nix ../../system/services/tailscale.nix
../../system/services/libvirtd.nix ../../system/services/libvirtd.nix
../../system/services/docker.nix ../../system/services/podman.nix
../../system/hardware/kernel.nix ../../system/hardware/kernel.nix
../../system/hardware/nvidia.nix ../../system/hardware/nvidia.nix
../../system/hardware/opengl.nix ../../system/hardware/opengl.nix
@@ -26,8 +26,6 @@
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
systemd.enableUnifiedCgroupHierarchy = false;
programs.appimage = { programs.appimage = {
enable = true; enable = true;
binfmt = true; binfmt = true;

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;
}