Reference defaultPackage in nixos module

This commit is contained in:
Martin 2023-07-17 22:27:20 +02:00
parent ef956d52fb
commit 63aea46079
Signed by: mawalu
GPG Key ID: BF556F989760A7C8
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@
systemd.services.rail = { systemd.services.rail = {
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
serviceConfig = let pkg = self.packages.${pkgs.system}.default; serviceConfig = let pkg = self.defaultPackage.${pkgs.system};
in { in {
Restart = "on-failure"; Restart = "on-failure";
ExecStart = "${pkg}/bin/tmpmail"; ExecStart = "${pkg}/bin/tmpmail";