2024-01-05 14:43:55 -05:00
|
|
|
{pkgs, ...}: {
|
|
|
|
environment.systemPackages = [pkgs.attic];
|
|
|
|
|
|
|
|
systemd.services.atticd = {
|
|
|
|
enable = true;
|
2024-02-01 15:48:47 -05:00
|
|
|
wantedBy = ["multi-user.target"];
|
2024-01-05 14:43:55 -05:00
|
|
|
description = "atticd";
|
|
|
|
|
|
|
|
serviceConfig = {
|
|
|
|
User = "notoh";
|
|
|
|
ExecStart = "${pkgs.attic}/bin/attic watch-store kyasshu";
|
|
|
|
Restart = "always";
|
|
|
|
RestartSec = 30;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|