From 63aea460797eca7c0c6a5a2efa3a7eb8aa42b692 Mon Sep 17 00:00:00 2001 From: mawalu Date: Mon, 17 Jul 2023 22:27:20 +0200 Subject: [PATCH] Reference defaultPackage in nixos module --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index d6fe3ed..2dd5344 100644 --- a/flake.nix +++ b/flake.nix @@ -42,7 +42,7 @@ systemd.services.rail = { wantedBy = [ "multi-user.target" ]; - serviceConfig = let pkg = self.packages.${pkgs.system}.default; + serviceConfig = let pkg = self.defaultPackage.${pkgs.system}; in { Restart = "on-failure"; ExecStart = "${pkg}/bin/tmpmail";