mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 09:27:44 -04:00
Switch over to Podman
This commit is contained in:
parent
bd2e1a3be6
commit
6940d4d796
1 changed files with 15 additions and 5 deletions
|
|
@ -28,6 +28,8 @@
|
||||||
jellyfin-web
|
jellyfin-web
|
||||||
net-snmp
|
net-snmp
|
||||||
nginx
|
nginx
|
||||||
|
podman-compose
|
||||||
|
podman-tui # status of containers in the terminal
|
||||||
yt-dlp
|
yt-dlp
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
@ -171,11 +173,19 @@
|
||||||
users.users.${username} = {
|
users.users.${username} = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Gene Liverman";
|
description = "Gene Liverman";
|
||||||
extraGroups = [ "docker" "networkmanager" "wheel" ];
|
extraGroups = [ "podman" "networkmanager" "wheel" ];
|
||||||
packages = with pkgs; [
|
|
||||||
docker-compose
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.docker.enable = true;
|
# Enable common container config files in /etc/containers
|
||||||
|
virtualisation.containers.enable = true;
|
||||||
|
|
||||||
|
virtualisation.oci-containers.backend = "podman";
|
||||||
|
|
||||||
|
virtualisation.podman = {
|
||||||
|
enable = true;
|
||||||
|
dockerCompat = true;
|
||||||
|
|
||||||
|
# Required for containers under podman-compose to be able to talk to each other.
|
||||||
|
defaultNetwork.settings.dns_enabled = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue