summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2020-04-19 18:49:41 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2020-04-19 18:49:41 +0200
commit0a3f639369ecb2cf5224ffeb53d256bb5b749c5c (patch)
treec4531420f9afb3b0076b33c1a6fdbcdc9d97b49a
parentbe2f8274b31a5cf77ba3c50a1de4cdd18435fbfb (diff)
downloadnixos-0a3f639369ecb2cf5224ffeb53d256bb5b749c5c.tar
nixos-0a3f639369ecb2cf5224ffeb53d256bb5b749c5c.tar.gz
nixos-0a3f639369ecb2cf5224ffeb53d256bb5b749c5c.tar.bz2
nixos-0a3f639369ecb2cf5224ffeb53d256bb5b749c5c.tar.xz
nixos-0a3f639369ecb2cf5224ffeb53d256bb5b749c5c.zip
factorio on ullr
m---------nixpkgs0
-rw-r--r--ullr.nix16
2 files changed, 16 insertions, 0 deletions
diff --git a/nixpkgs b/nixpkgs
Subproject 3960406b9a2788028f23e16cc1486a98b923348 Subproject 721d626cd88849445cb70bb7a4c1d6dafa0fc12
diff --git a/ullr.nix b/ullr.nix
index 00efb8b7..bad06084 100644
--- a/ullr.nix
+++ b/ullr.nix
@@ -71,6 +71,22 @@
71 members = ["root"]; 71 members = ["root"];
72 }; 72 };
73 73
74 services.factorio = {
75 enable = true;
76 package = pkgs.factorio-headless-experimental;
77 autosave-interval = 10;
78 game-name = "Ullr";
79 public = true;
80 username = "ndxsbvrt";
81 token = bulitins.readFile /etc/factorio-token;
82 extraSettings = {
83 admins = ["ndxsbvrt" "BoeseMilch"];
84 only_admins_can_pause_the_game = false;
85 };
86 whitelist = ["ndxsbvrt" "BoeseMilch"];
87 dynamicMods = true;
88 };
89
74 # This value determines the NixOS release from which the default 90 # This value determines the NixOS release from which the default
75 # settings for stateful data, like file locations and database versions 91 # settings for stateful data, like file locations and database versions
76 # on your system were taken. It‘s perfectly fine and recommended to leave 92 # on your system were taken. It‘s perfectly fine and recommended to leave