loptland: cleanup

This commit is contained in:
Christoph Hollizeck 2026-01-20 23:14:27 +01:00
parent be4b6cbbe4
commit d26311f457
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
7 changed files with 31 additions and 17 deletions

View file

@ -48,7 +48,8 @@ topLevel: {
services.resolved = {
enable = true;
domains = [ "~." ];
settings.Resolve.Domains = [ "~." ];
};
networking.firewall.allowedTCPPorts = [

View file

@ -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;

View file

@ -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";