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

13 lines
280 B
Nix
Raw Normal View History

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