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 ./nginx
]; ];
nixpkgs.overlays = [ (_: prev: { local = import ../pkgs { pkgs = prev; }; }) ];
nix = { nix = {
extraOptions = '' extraOptions = ''
experimental-features = nix-command flakes experimental-features = nix-command flakes

View file

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