From 0a3f639369ecb2cf5224ffeb53d256bb5b749c5c Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 19 Apr 2020 18:49:41 +0200 Subject: factorio on ullr --- nixpkgs | 2 +- ullr.nix | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/nixpkgs b/nixpkgs index 3960406b..721d626c 160000 --- a/nixpkgs +++ b/nixpkgs @@ -1 +1 @@ -Subproject commit 3960406b9a2788028f23e16cc1486a98b9233481 +Subproject commit 721d626cd88849445cb70bb7a4c1d6dafa0fc125 diff --git a/ullr.nix b/ullr.nix index 00efb8b7..bad06084 100644 --- a/ullr.nix +++ b/ullr.nix @@ -71,6 +71,22 @@ members = ["root"]; }; + services.factorio = { + enable = true; + package = pkgs.factorio-headless-experimental; + autosave-interval = 10; + game-name = "Ullr"; + public = true; + username = "ndxsbvrt"; + token = bulitins.readFile /etc/factorio-token; + extraSettings = { + admins = ["ndxsbvrt" "BoeseMilch"]; + only_admins_can_pause_the_game = false; + }; + whitelist = ["ndxsbvrt" "BoeseMilch"]; + dynamicMods = true; + }; + # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave -- cgit v1.2.3