diff --git a/nixos/servnerr-3/configuration.nix b/nixos/servnerr-3/configuration.nix index 07c4047..2096516 100644 --- a/nixos/servnerr-3/configuration.nix +++ b/nixos/servnerr-3/configuration.nix @@ -4,8 +4,7 @@ { lib, pkgs, ... }: -let - vars = import ./lib/vars.nix; +let vars = import ./lib/vars.nix; in { imports = [ @@ -136,10 +135,7 @@ in { RuntimeWatchdogSec=60s ''; - virtualisation = { - docker.enable = true; - libvirtd.enable = true; - }; + virtualisation.libvirtd.enable = true; # root SSH key for remote builds. users.users.root.openssh.authorizedKeys.keys = [ diff --git a/nixos/servnerr-3/containers.nix b/nixos/servnerr-3/containers.nix index 42b9f7e..6246404 100644 --- a/nixos/servnerr-3/containers.nix +++ b/nixos/servnerr-3/containers.nix @@ -40,12 +40,15 @@ }; }; - docker-containers = { - # promlens running on TCP/9091 adjacent to Prometheus. - promlens = { - image = "promlabs/promlens"; - ports = [ "9091:8080" ]; - volumes = [ "/var/lib/promlens:/var/lib/promlens" ]; + virtualisation.oci-containers = { + backend = "podman"; + containers = { + # promlens running on TCP/9091 adjacent to Prometheus. + promlens = { + image = "promlabs/promlens"; + ports = [ "9091:8080" ]; + volumes = [ "/var/lib/promlens:/var/lib/promlens" ]; + }; }; }; }