about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorfishyfriend <fishyfriend@users.noreply.github.com>2018-11-25 02:17:25 -0500
committerfishyfriend <fishyfriend@users.noreply.github.com>2018-11-25 15:25:19 -0500
commitb34b39cab4861125cfe4b719a1e6d8e8b472c25e (patch)
tree8dc0d7c62817269ddd31f4b7aa2154a4731610cd /nixos
parent604b0f34c96e0c72640719d59bcc92cb64550ff0 (diff)
downloadnixlib-b34b39cab4861125cfe4b719a1e6d8e8b472c25e.tar
nixlib-b34b39cab4861125cfe4b719a1e6d8e8b472c25e.tar.gz
nixlib-b34b39cab4861125cfe4b719a1e6d8e8b472c25e.tar.bz2
nixlib-b34b39cab4861125cfe4b719a1e6d8e8b472c25e.tar.lz
nixlib-b34b39cab4861125cfe4b719a1e6d8e8b472c25e.tar.xz
nixlib-b34b39cab4861125cfe4b719a1e6d8e8b472c25e.tar.zst
nixlib-b34b39cab4861125cfe4b719a1e6d8e8b472c25e.zip
nixos/urxvtd: remove socket activation
This fixes #23193. urxvtd is not presently compatible with socket activation.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/x11/urxvtd.nix30
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 ];