From b30b226142975f2757657991e4e298086b398a79 Mon Sep 17 00:00:00 2001 From: notohh <github@notohh.dev> Date: Wed, 26 Feb 2025 00:36:44 -0500 Subject: [PATCH] tsuki: update atticd service --- hosts/tsuki/services/atticd.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/hosts/tsuki/services/atticd.nix b/hosts/tsuki/services/atticd.nix index 5f79795..1cae3fe 100644 --- a/hosts/tsuki/services/atticd.nix +++ b/hosts/tsuki/services/atticd.nix @@ -1,4 +1,8 @@ -{pkgs, ...}: { +{ + pkgs, + lib, + ... +}: { environment.systemPackages = [pkgs.attic-client]; systemd.services.atticd = { @@ -8,7 +12,7 @@ serviceConfig = { User = "notoh"; - ExecStart = "${pkgs.attic-client}/bin/attic watch-store kyasshu"; + ExecStart = "${lib.getExe pkgs.attic-client} watch-store kyasshu"; Restart = "always"; RestartSec = 30; };