diff options
Diffstat (limited to 'ullr.nix')
-rw-r--r-- | ullr.nix | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -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 |