diff options
author | tv <tv@krebsco.de> | 2022-01-12 14:57:08 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2022-01-12 14:57:08 +0100 |
commit | 2868b43e81ceb7fb6135659b90867bb8fc58ad0e (patch) | |
tree | 718719566da8a9de17d9bd967e78fe6b3e412b27 /tv/2configs/xsessions/urxvtd.nix | |
parent | 82ab279a8248b458c4360e333e1b588936267e0e (diff) |
tv xsessions: add user urxvtd socket and service
Diffstat (limited to 'tv/2configs/xsessions/urxvtd.nix')
-rw-r--r-- | tv/2configs/xsessions/urxvtd.nix | 15 |
1 files changed, 15 insertions, 0 deletions
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"; + }; + }; +} |