Refactor and add nginx tests #165

Merged
tlater merged 9 commits from tlater/refactor-for-testing into master 2025-11-20 03:07:14 +00:00
2 changed files with 9 additions and 4 deletions
Showing only changes of commit 4e59582de2 - Show all commits

View file

@ -30,8 +30,6 @@
./nginx
];
nixpkgs.overlays = [ (_: prev: { local = import ../pkgs { pkgs = prev; }; }) ];
nix = {
extraOptions = ''
experimental-features = nix-command flakes

View file

@ -1,4 +1,9 @@
{ pkgs, lib, ... }:
{
flake-inputs,
pkgs,
lib,
...
}:
let
inherit (lib) concatStringsSep;
in
@ -11,7 +16,9 @@ in
after = [ "network.target" ];
serviceConfig = {
ExecStart = "${pkgs.local.starbound}/bin/launch-starbound ${./configs/starbound.json}";
ExecStart = "${
flake-inputs.self.packages.${pkgs.system}.starbound
}/bin/launch-starbound ${./configs/starbound.json}";
Type = "simple";