diff options
| m--------- | nixpkgs | 0 | ||||
| -rw-r--r-- | ullr.nix | 16 |
2 files changed, 16 insertions, 0 deletions
diff --git a/nixpkgs b/nixpkgs | |||
| Subproject 3960406b9a2788028f23e16cc1486a98b923348 | Subproject 721d626cd88849445cb70bb7a4c1d6dafa0fc12 | ||
| @@ -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 |
