migrated to podman
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
../../system/services/steam.nix
|
||||
../../system/services/tailscale.nix
|
||||
../../system/services/libvirtd.nix
|
||||
../../system/services/docker.nix
|
||||
../../system/services/podman.nix
|
||||
../../system/hardware/kernel.nix
|
||||
../../system/hardware/nvidia.nix
|
||||
../../system/hardware/opengl.nix
|
||||
@@ -26,8 +26,6 @@
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
systemd.enableUnifiedCgroupHierarchy = false;
|
||||
|
||||
programs.appimage = {
|
||||
enable = true;
|
||||
binfmt = true;
|
||||
|
||||
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