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

View File

@@ -7,28 +7,28 @@
{
imports = mylib.scanPaths ./.;
environment.systemPackages = with pkgs; [
podman-compose
];
# environment.systemPackages = with pkgs; [
# podman-compose
# ];
virtualisation = {
docker.enable = lib.mkForce false;
podman = {
enable = true;
# Create a `docker` alias for podman, to use it as a drop-in replacement
dockerCompat = true;
# Required for containers under podman-compose to be able to talk to each other.
defaultNetwork.settings.dns_enabled = true;
# Periodically prune Podman resources
autoPrune = {
enable = true;
dates = "weekly";
flags = [ "--all" ];
};
};
docker.enable = true;
# podman = {
# enable = true;
# # Create a `docker` alias for podman, to use it as a drop-in replacement
# dockerCompat = true;
# # Required for containers under podman-compose to be able to talk to each other.
# defaultNetwork.settings.dns_enabled = true;
# # Periodically prune Podman resources
# autoPrune = {
# enable = true;
# dates = "weekly";
# flags = [ "--all" ];
# };
# };
oci-containers = {
backend = "podman";
backend = "docker";
};
};
}

View File

@@ -10,6 +10,7 @@
users.groups = {
"${myvars.username}" = { };
podman = { };
docker = { };
wireshark = { };
# for android platform tools's udev rules
adbusers = { };
@@ -31,6 +32,7 @@
"wheel"
"networkmanager" # for nmtui / nm-connection-editor
"podman"
"docker"
"wireshark"
"adbusers" # android debugging
"libvirtd" # virt-viewer / qemu