From 2868b43e81ceb7fb6135659b90867bb8fc58ad0e Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 12 Jan 2022 14:57:08 +0100 Subject: tv xsessions: add user urxvtd socket and service --- tv/2configs/xsessions/urxvtd.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tv/2configs/xsessions/urxvtd.nix (limited to 'tv/2configs/xsessions/urxvtd.nix') diff --git a/tv/2configs/xsessions/urxvtd.nix b/tv/2configs/xsessions/urxvtd.nix new file mode 100644 index 000000000..de16a634b --- /dev/null +++ b/tv/2configs/xsessions/urxvtd.nix @@ -0,0 +1,15 @@ +{ pkgs, ... }: { + systemd.user.sockets.urxvtd = { + wantedBy = [ "sockets.target" ]; + socketConfig.ListenStream = "%t/urxvtd"; + }; + systemd.user.services.urxvtd = { + restartIfChanged = false; + environment = { + RXVT_SOCKET = "%t/urxvtd"; + }; + serviceConfig = { + ExecStart = "${pkgs.rxvt_unicode}/bin/urxvtd"; + }; + }; +} -- cgit v1.2.3 [cgit] Unable to lock slot /tmp/cgit/e5000000.lock: No such file or directory (2)