diff options
author | Léo Gaspard <leo@gaspard.io> | 2018-11-29 00:50:01 +0900 |
---|---|---|
committer | Léo Gaspard <leo@gaspard.io> | 2018-11-29 00:50:01 +0900 |
commit | f161f02552c89d0ca32b81c50d219c5eb1bf4223 (patch) | |
tree | 9f1ddd4235bd65b50345daad044bbe7fc6ef6b42 /nixos/modules | |
parent | 22d8291c171bb1dea3bba7d800b89cf8063035f0 (diff) | |
parent | b34b39cab4861125cfe4b719a1e6d8e8b472c25e (diff) | |
download | nixpkgs-f161f02552c89d0ca32b81c50d219c5eb1bf4223.tar nixpkgs-f161f02552c89d0ca32b81c50d219c5eb1bf4223.tar.gz nixpkgs-f161f02552c89d0ca32b81c50d219c5eb1bf4223.tar.bz2 nixpkgs-f161f02552c89d0ca32b81c50d219c5eb1bf4223.tar.lz nixpkgs-f161f02552c89d0ca32b81c50d219c5eb1bf4223.tar.xz nixpkgs-f161f02552c89d0ca32b81c50d219c5eb1bf4223.tar.zst nixpkgs-f161f02552c89d0ca32b81c50d219c5eb1bf4223.zip |
Merge branch 'pr-51043'
* pr-51043: nixos/urxvtd: remove socket activation
Diffstat (limited to 'nixos/modules')
-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 f2ce089ce19..5531d7f153c 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 ]; |