snowflake/hosts/yuki/services/glances.nix

16 lines
334 B
Nix
Raw Normal View History

2023-11-11 16:27:11 -05:00
_: {
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";
};
};
}