2017-04-17 13:11:32 +02:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
mainUser = config.krebs.build.user.name;
|
|
|
|
in {
|
|
|
|
systemd.services.urxvtd = {
|
|
|
|
wantedBy = [ "multi-user.target" ];
|
|
|
|
before = [ "graphical.target" ];
|
|
|
|
reloadIfChanged = true;
|
|
|
|
serviceConfig = {
|
|
|
|
SyslogIdentifier = "urxvtd";
|
|
|
|
ExecReload = "${pkgs.coreutils}/bin/echo NOP";
|
2020-04-22 08:11:00 +02:00
|
|
|
ExecStart = "${pkgs.rxvt_unicode-with-plugins}/bin/urxvtd";
|
2017-04-17 13:11:32 +02:00
|
|
|
Restart = "always";
|
|
|
|
RestartSec = "2s";
|
|
|
|
StartLimitBurst = 0;
|
|
|
|
User = mainUser;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
# TODO: sessionCommands from base-gui related to urxvt in this file
|
|
|
|
}
|