Compare commits

..

1 commit

Author SHA1 Message Date
30a5843fdf
WIP: test: Set up service tests 2025-11-19 15:46:25 +08:00
2 changed files with 4 additions and 9 deletions

View file

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

View file

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