yuki: init neko
This commit is contained in:
parent
6e595b86d7
commit
f4d7a86aa4
2 changed files with 21 additions and 0 deletions
|
@ -7,5 +7,6 @@
|
||||||
./homarr.nix
|
./homarr.nix
|
||||||
./dashdot.nix
|
./dashdot.nix
|
||||||
./jellyfin.nix
|
./jellyfin.nix
|
||||||
|
./neko.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
20
hosts/yuki/services/neko.nix
Normal file
20
hosts/yuki/services/neko.nix
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
_: {
|
||||||
|
networking.firewall.allowedTCPPorts = [8080];
|
||||||
|
networking.firewall.allowedUDPPorts = [52000 52100];
|
||||||
|
virtualisation.oci-containers.containers.neko = {
|
||||||
|
image = "m1k1o/neko:firefox";
|
||||||
|
ports = [
|
||||||
|
"8080:8080"
|
||||||
|
"52000-52100:52000-52100/udp"
|
||||||
|
];
|
||||||
|
environment = {
|
||||||
|
NEKO_SCREEN = "1920x1080@60";
|
||||||
|
NEKO_PASSWORD = "forsen";
|
||||||
|
NEKO_EPR = "52000-52100";
|
||||||
|
NEKO_NAT1TO1 = "100.110.140.130";
|
||||||
|
NEKO_BIND = "0.0.0.0:8080";
|
||||||
|
NEKO_CONTROL_PROTECTION = "true";
|
||||||
|
NEKO_VIDEO_CODEC = "h264";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue