home: Enable pueue service
This commit is contained in:
parent
9e0c084582
commit
2ec356dc64
1 changed files with 21 additions and 0 deletions
|
@ -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;
|
services.ssh-agent.enable = true;
|
||||||
|
|
||||||
systemd.user.tmpfiles.rules = [
|
systemd.user.tmpfiles.rules = [
|
||||||
|
|
Loading…
Reference in a new issue