Merge branch 'pr-51043'
* pr-51043: nixos/urxvtd: remove socket activation
This commit is contained in:
commit
f161f02552
@ -18,27 +18,17 @@ 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" ];
|
path = [ pkgs.xsel ];
|
||||||
socketConfig = {
|
serviceConfig = {
|
||||||
ListenStream = "%t/urxvtd-socket";
|
ExecStart = "${pkgs.rxvt_unicode-with-plugins}/bin/urxvtd -o";
|
||||||
};
|
Environment = "RXVT_SOCKET=%t/urxvtd-socket";
|
||||||
|
Restart = "on-failure";
|
||||||
|
RestartSec = "5s";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.urxvtd = {
|
|
||||||
description = "urxvt terminal daemon";
|
|
||||||
path = [ pkgs.xsel ];
|
|
||||||
serviceConfig = {
|
|
||||||
ExecStart = "${pkgs.rxvt_unicode-with-plugins}/bin/urxvtd -o";
|
|
||||||
Environment = "RXVT_SOCKET=%t/urxvtd-socket";
|
|
||||||
Restart = "on-failure";
|
|
||||||
RestartSec = "5s";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = [ pkgs.rxvt_unicode-with-plugins ];
|
environment.systemPackages = [ pkgs.rxvt_unicode-with-plugins ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user