feat: idols-akane - use docker instead of podman

This commit is contained in:
Ryan Yin
2026-03-08 03:35:39 +08:00
parent c12fb46228
commit 69b4d96915
2 changed files with 20 additions and 18 deletions
+18 -18
View File
@@ -7,28 +7,28 @@
{ {
imports = mylib.scanPaths ./.; imports = mylib.scanPaths ./.;
environment.systemPackages = with pkgs; [ # environment.systemPackages = with pkgs; [
podman-compose # podman-compose
]; # ];
virtualisation = { virtualisation = {
docker.enable = lib.mkForce false; docker.enable = true;
podman = { # podman = {
enable = true; # enable = true;
# Create a `docker` alias for podman, to use it as a drop-in replacement # # Create a `docker` alias for podman, to use it as a drop-in replacement
dockerCompat = true; # dockerCompat = true;
# Required for containers under podman-compose to be able to talk to each other. # # Required for containers under podman-compose to be able to talk to each other.
defaultNetwork.settings.dns_enabled = true; # defaultNetwork.settings.dns_enabled = true;
# Periodically prune Podman resources # # Periodically prune Podman resources
autoPrune = { # autoPrune = {
enable = true; # enable = true;
dates = "weekly"; # dates = "weekly";
flags = [ "--all" ]; # flags = [ "--all" ];
}; # };
}; # };
oci-containers = { oci-containers = {
backend = "podman"; backend = "docker";
}; };
}; };
} }
+2
View File
@@ -10,6 +10,7 @@
users.groups = { users.groups = {
"${myvars.username}" = { }; "${myvars.username}" = { };
podman = { }; podman = { };
docker = { };
wireshark = { }; wireshark = { };
# for android platform tools's udev rules # for android platform tools's udev rules
adbusers = { }; adbusers = { };
@@ -31,6 +32,7 @@
"wheel" "wheel"
"networkmanager" # for nmtui / nm-connection-editor "networkmanager" # for nmtui / nm-connection-editor
"podman" "podman"
"docker"
"wireshark" "wireshark"
"adbusers" # android debugging "adbusers" # android debugging
"libvirtd" # virt-viewer / qemu "libvirtd" # virt-viewer / qemu