snowflake/hosts/tsuki/services/atticd.nix

19 lines
361 B
Nix
Raw Normal View History

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