diff options
author | fishyfriend <fishyfriend@users.noreply.github.com> | 2018-11-25 02:17:25 -0500 |
---|---|---|
committer | fishyfriend <fishyfriend@users.noreply.github.com> | 2018-11-25 15:25:19 -0500 |
commit | b34b39cab4861125cfe4b719a1e6d8e8b472c25e (patch) | |
tree | 8dc0d7c62817269ddd31f4b7aa2154a4731610cd /nixos/modules/services/x11/urxvtd.nix | |
parent | 604b0f34c96e0c72640719d59bcc92cb64550ff0 (diff) |
nixos/urxvtd: remove socket activation
This fixes #23193. urxvtd is not presently compatible with socket activation.
Diffstat (limited to 'nixos/modules/services/x11/urxvtd.nix')
-rw-r--r-- | nixos/modules/services/x11/urxvtd.nix | 30 |
1 files changed, 10 insertions, 20 deletions
diff --git a/nixos/modules/services/x11/urxvtd.nix b/nixos/modules/services/x11/urxvtd.nix index f2ce089ce19a..5531d7f153c2 100644 --- a/nixos/modules/services/x11/urxvtd.nix +++ b/nixos/modules/services/x11/urxvtd.nix @@ -18,27 +18,17 @@ in { }; config = mkIf cfg.enable { - systemd.user = { - sockets.urxvtd = { - description = "socket for urxvtd, the urxvt terminal daemon"; - wantedBy = [ "graphical-session.target" ]; - partOf = [ "graphical-session.target" ]; - socketConfig = { - ListenStream = "%t/urxvtd-socket"; - }; + systemd.user.services.urxvtd = { + description = "urxvt terminal daemon"; + wantedBy = [ "graphical-session.target" ]; + partOf = [ "graphical-session.target" ]; + path = [ pkgs.xsel ]; + serviceConfig = { + 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 ]; |