snowflake/hosts/sora/services/glances.nix

16 lines
334 B
Nix
Raw Normal View History

2024-01-25 09:04:47 -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";
};
};
}