nixos-config/hosts/x86_64-linux/beleth/factorio.nix

18 lines
292 B
Nix
Raw Permalink Normal View History

2024-11-22 18:22:29 +01:00
{
pkgs,
config,
lib,
...
}: {
2024-11-17 20:27:40 +01:00
services.factorio = {
enable = true;
openFirewall = true;
2024-11-17 20:36:21 +01:00
# extraSettingsFile = /etc/factorio_settings.json;
2024-11-22 18:22:29 +01:00
admins = ["frottingqueen"];
2024-11-17 20:27:40 +01:00
};
sops.secrets.factorio_server_settings = {
2024-11-17 20:37:16 +01:00
path = "/etc/factorio_settings.json";
2024-11-17 20:27:40 +01:00
};
}