25 lines
572 B
Nix
25 lines
572 B
Nix
|
{
|
||
|
self,
|
||
|
config,
|
||
|
pkgs,
|
||
|
fetchurl,
|
||
|
...
|
||
|
}: let
|
||
|
#far-reach = pkgs.factorio-utils.modDrv rec {
|
||
|
# src = fetchurl {
|
||
|
# urls = [ "https://dl-mod.factorio.com/download/c48a8fbbe6941453173ae4e8a353976f3d757773/far-reach_1.1.2.zip?secure=0rFEz6-kw9j2JtrOUv3yEw,1677274141" ];
|
||
|
# sha256 = "";
|
||
|
# };
|
||
|
#};
|
||
|
in {
|
||
|
services.factorio = {
|
||
|
enable = true;
|
||
|
package = pkgs.factorio-headless-experimental;
|
||
|
openFirewall = true;
|
||
|
game-name = "pub.solar Factorio";
|
||
|
game-password = "pub.solar";
|
||
|
admins = ["hensoko"];
|
||
|
#mods = [ far-reach ];
|
||
|
};
|
||
|
}
|