diff --git a/home-manager/gandalf.nix b/home-manager/gandalf.nix index b74777b..146ae1d 100644 --- a/home-manager/gandalf.nix +++ b/home-manager/gandalf.nix @@ -31,6 +31,9 @@ lt = "lsd --tree"; lla = "lsd -la"; + # lazydocker --> lazypodman + lazypodman="sudo DOCKER_HOST=unix:///run/podman/podman.sock lazydocker" + # other df = "df -h"; du = "du -h"; diff --git a/nixos/gandalf/configuration.nix b/nixos/gandalf/configuration.nix index 188b46e..cf28c0d 100644 --- a/nixos/gandalf/configuration.nix +++ b/nixos/gandalf/configuration.nix @@ -33,6 +33,7 @@ environment.systemPackages = with pkgs; [ podman-compose + lazydocker ]; # Some programs need SUID wrappers, can be configured further or are @@ -101,13 +102,17 @@ }; # TODO: Add xen-orchestra - # virtualisation.oci-containers = { - # xen-orchestra = { - # image = "xen-orchestra"; - # ports = [ "80:80" ]; - # volumes = [ "/eru/xen-backups:/backups" ]; - # }; - # }; + virtualisation.oci-containers = { + backend = "podman"; + xen-orchestra = { + image = "docker.io/ronivay/xen-orchestra:5.136.0"; + ports = [ "80:80" ]; + volumes = [ "xen-backups:/backups" ]; + environment = { + HTTP_PORT = "80"; + }; + }; + }; # ZFS automated snapshots services.sanoid = {