nixos/urxvtd: remove socket activation
This fixes #23193. urxvtd is not presently compatible with socket activation.
This commit is contained in:
parent
604b0f34c9
commit
b34b39cab4
@ -18,18 +18,10 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
systemd.user = {
|
systemd.user.services.urxvtd = {
|
||||||
sockets.urxvtd = {
|
description = "urxvt terminal daemon";
|
||||||
description = "socket for urxvtd, the urxvt terminal daemon";
|
|
||||||
wantedBy = [ "graphical-session.target" ];
|
wantedBy = [ "graphical-session.target" ];
|
||||||
partOf = [ "graphical-session.target" ];
|
partOf = [ "graphical-session.target" ];
|
||||||
socketConfig = {
|
|
||||||
ListenStream = "%t/urxvtd-socket";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
services.urxvtd = {
|
|
||||||
description = "urxvt terminal daemon";
|
|
||||||
path = [ pkgs.xsel ];
|
path = [ pkgs.xsel ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${pkgs.rxvt_unicode-with-plugins}/bin/urxvtd -o";
|
ExecStart = "${pkgs.rxvt_unicode-with-plugins}/bin/urxvtd -o";
|
||||||
@ -39,8 +31,6 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.systemPackages = [ pkgs.rxvt_unicode-with-plugins ];
|
environment.systemPackages = [ pkgs.rxvt_unicode-with-plugins ];
|
||||||
environment.variables.RXVT_SOCKET = "/run/user/$(id -u)/urxvtd-socket";
|
environment.variables.RXVT_SOCKET = "/run/user/$(id -u)/urxvtd-socket";
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user