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 | 0510beb746274da0734dce4ce5e0be7b797211a9 (patch) | |
tree | c38d01c4d9d9e41c450b66768881748a31ab9d0e /tv | |
parent | 0d8d95cb8ba0eb09b9e39301d3cc6b342dd92dc5 (diff) |
tv xsessions: add user urxvtd socket and service
Diffstat (limited to 'tv')
-rw-r--r-- | tv/2configs/xsessions/default.nix | 1 | ||||
-rw-r--r-- | tv/2configs/xsessions/urxvtd.nix | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/tv/2configs/xsessions/default.nix b/tv/2configs/xsessions/default.nix index f7e9be4..384c9c5 100644 --- a/tv/2configs/xsessions/default.nix +++ b/tv/2configs/xsessions/default.nix @@ -1,4 +1,5 @@ { imports = [ + ./urxvtd.nix ]; } diff --git a/tv/2configs/xsessions/urxvtd.nix b/tv/2configs/xsessions/urxvtd.nix new file mode 100644 index 0000000..de16a63 --- /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"; + }; + }; +} |