mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-23 22:03:54 +01:00
18 lines
292 B
Nix
18 lines
292 B
Nix
{
|
|
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";
|
|
};
|
|
}
|