refactor: Remove local package overlay
This commit is contained in:
parent
6df42a461f
commit
9de8071b9b
2 changed files with 9 additions and 4 deletions
|
|
@ -30,8 +30,6 @@
|
||||||
./nginx
|
./nginx
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.overlays = [ (_: prev: { local = import ../pkgs { pkgs = prev; }; }) ];
|
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
extraOptions = ''
|
extraOptions = ''
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,9 @@
|
||||||
{ pkgs, lib, ... }:
|
{
|
||||||
|
flake-inputs,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
let
|
let
|
||||||
inherit (lib) concatStringsSep;
|
inherit (lib) concatStringsSep;
|
||||||
in
|
in
|
||||||
|
|
@ -11,7 +16,9 @@ in
|
||||||
after = [ "network.target" ];
|
after = [ "network.target" ];
|
||||||
|
|
||||||
serviceConfig = {
|
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";
|
Type = "simple";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue