diff --git a/configuration/default.nix b/configuration/default.nix index 631e93e..9881db2 100644 --- a/configuration/default.nix +++ b/configuration/default.nix @@ -30,8 +30,6 @@ ./nginx ]; - nixpkgs.overlays = [ (_: prev: { local = import ../pkgs { pkgs = prev; }; }) ]; - nix = { extraOptions = '' experimental-features = nix-command flakes diff --git a/configuration/services/starbound.nix b/configuration/services/starbound.nix index 609d4c0..a667b57 100644 --- a/configuration/services/starbound.nix +++ b/configuration/services/starbound.nix @@ -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";