snowflake/hosts/yuki/services/glances.nix

15 lines
334 B
Nix

_: {
networking.firewall.allowedTCPPorts = [61208 61209];
virtualisation.oci-containers.containers.glances = {
image = "nicolargo/glances";
ports = [
"61208-61209:61208-61209"
];
volumes = [
"/var/run/docker.sock:/var/run/docker.sock"
];
environment = {
GLANCES_OPT = "-w";
};
};
}