add distrobox/podman to othalan

This commit is contained in:
Daylin Morgan 2024-10-19 18:17:00 -05:00
parent 29aeb5ec4e
commit cbfbdd3bcf
Signed by: daylin
GPG key ID: 950D13E9719334AD
4 changed files with 31 additions and 2 deletions

View file

@ -18,10 +18,10 @@
// ( // (
'' ''
vpn|desktop|hyprland|chrome vpn|desktop|hyprland|chrome
docker|vbox|backups|hp-scanner|llm backups|hp-scanner|llm
podman|docker|vbox
'' ''
|> listify |> listify
|> enableAttrs |> enableAttrs
); );
} }

View file

@ -3,6 +3,7 @@
environment.systemPackages = environment.systemPackages =
[ (flake.pkg "utils") ] [ (flake.pkg "utils") ]
++ (with pkgs; [ ++ (with pkgs; [
distrobox
zk zk
quarto quarto
cachix cachix

View file

@ -26,6 +26,7 @@ in
virtualbox virtualbox
docker docker
podman
gui gui
fonts fonts

View file

@ -0,0 +1,27 @@
{
config,
pkgs,
mkOizysModule,
enabled,
...
}:
mkOizysModule config "podman" {
# I'm not sure what this is doing, but it was in the old wiki...
# Enable common container config files in /etc/containers
virtualisation.containers = enabled;
virtualisation = {
podman = enabled // {
# 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;
};
};
environment.systemPackages = with pkgs; [
podman-tui # status of containers in the terminal
podman-compose # start group of containers for dev
];
}