summaryrefslogtreecommitdiffstats
path: root/tv/2configs/xsessions/urxvtd.nix
blob: de16a634b60be0dbc120c5a84ff13c4bb3ba76f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ pkgs, ... }: {
  systemd.user.sockets.urxvtd = {
    wantedBy = [ "sockets.target" ];
    socketConfig.ListenStream = "%t/urxvtd";
  };
  systemd.user.services.urxvtd = {
    restartIfChanged = false;
    environment = {
      RXVT_SOCKET = "%t/urxvtd";
    };
    serviceConfig = {
      ExecStart = "${pkgs.rxvt_unicode}/bin/urxvtd";
    };
  };
}