loptland: cleanup
This commit is contained in:
parent
be4b6cbbe4
commit
d26311f457
7 changed files with 31 additions and 17 deletions
|
|
@ -1,7 +1,16 @@
|
|||
{
|
||||
flake.modules.nixos.factorio-server =
|
||||
{ config, ... }:
|
||||
{
|
||||
config,
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
latest-factorio = import inputs.nixpkgs-latest-factorio {
|
||||
system = pkgs.stdenv.hostPlatform.system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
sopsFile = ../../secrets/secrets-loptland.yaml;
|
||||
in
|
||||
{
|
||||
|
|
@ -46,6 +55,8 @@
|
|||
|
||||
services.factorio = {
|
||||
enable = true;
|
||||
package = latest-factorio.factorio-headless;
|
||||
|
||||
openFirewall = true;
|
||||
public = true;
|
||||
lan = true;
|
||||
|
|
|
|||
|
|
@ -30,6 +30,8 @@
|
|||
|
||||
services.hydra = {
|
||||
enable = true;
|
||||
package = pkgs.hydra.overrideAttrs { stdenv = pkgs.gcc14Stdenv; };
|
||||
|
||||
hydraURL = "http://localhost:${toString httpPort}";
|
||||
port = httpPort;
|
||||
notificationSender = "hydra@localhost";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue