sora: init glances

This commit is contained in:
notohh 2024-01-25 09:04:47 -05:00
parent 5fa8f049ee
commit f5f23e1701
Signed by: notohh
GPG key ID: BD47506D475EE86D
2 changed files with 16 additions and 0 deletions

View file

@ -7,6 +7,7 @@
./attic.nix ./attic.nix
./tailscale.nix ./tailscale.nix
./croc.nix ./croc.nix
./glances.nix
### game servers ### game servers
./terraria.nix ./terraria.nix

View file

@ -0,0 +1,15 @@
_: {
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";
};
};
}