home: Enable pueue service

This commit is contained in:
Mikael 2024-09-28 17:09:24 +02:00
parent 9e0c084582
commit 2ec356dc64
Signed by: mikael
SSH key fingerprint: SHA256:21QyD2Meiot7jOUVitIR5YkGB/XuXdCvLW1hE6dsri0

View file

@ -376,6 +376,27 @@ in {
'';
};
services.pueue = {
enable = true;
settings = {
shared = {
use_unix_socket = true;
};
client = {
status_time_format = "%H:%M:%S %Z";
status_datetime_format = "%Y-%m-%d %H:%M:%S %Z";
};
daemon = {
groups.default = 0;
callback = lib.mkIf (osConfig.hardware.graphics.enable or false)
''${lib.getExe pkgs.libnotify} "Task {{ id }} {{ result }}" "Command: {{ command }}\nPath: {{ path }}\nStatus: {{ exit_code }}'';
callback_log_lines = 4;
};
};
};
services.ssh-agent.enable = true;
systemd.user.tmpfiles.rules = [