refactor: Remove local package overlay

This commit is contained in:
Tristan Daniël Maat 2025-11-19 15:51:53 +08:00
parent 77cf850467
commit 4e59582de2
Signed by: tlater
GPG key ID: 02E935006CF2E8E7
2 changed files with 9 additions and 4 deletions

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