23 lines
542 B
Nix
23 lines
542 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
services.factorio = {
|
|
enable = true;
|
|
package = pkgs.pin.factorio.factorio-headless;
|
|
openFirewall = true;
|
|
extraSettingsFile = config.age.secrets.kalif-conf.path;
|
|
extraArgs = [ "--mod-directory=/var/lib/factorio/mods" ];
|
|
game-name = "Factorio :3 - Kalif - Zora";
|
|
admins = [
|
|
"ntlyes"
|
|
];
|
|
};
|
|
|
|
age.secrets = {
|
|
kalif-conf = {
|
|
file = ../../../secrets/zora/services/kalif-conf.age;
|
|
# path = "/var/lib/factorio/real-settings.json";
|
|
mode = "755";
|
|
};
|
|
};
|
|
}
|