blob: 286b87ab3df31ec2f365da9ed9e883632ef7cde8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{ 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";
ExecStart = "${pkgs.rxvt_unicode_with-plugins}/bin/urxvtd";
Restart = "always";
RestartSec = "2s";
StartLimitBurst = 0;
User = mainUser;
};
};
# TODO: sessionCommands from base-gui related to urxvt in this file
}
|