summaryrefslogtreecommitdiffstats
path: root/tv/2configs/xsessions
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-01-27 10:55:55 +0100
committerlassulus <lassulus@lassul.us>2022-01-27 10:55:55 +0100
commit83ec0fdb970c4aa0e29d221cb25aac2115e5abcd (patch)
tree7a4a8dce4c7ce6a291d3a8378676fd25752d783a /tv/2configs/xsessions
parentba8a196faf2a28cd2a8defcdf3c2e7711281b9db (diff)
parentad6f0cd9014e13478a622786b9643970bae1c90a (diff)
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'tv/2configs/xsessions')
-rw-r--r--tv/2configs/xsessions/default.nix5
-rw-r--r--tv/2configs/xsessions/urxvtd.nix15
2 files changed, 20 insertions, 0 deletions
diff --git a/tv/2configs/xsessions/default.nix b/tv/2configs/xsessions/default.nix
new file mode 100644
index 000000000..384c9c5e5
--- /dev/null
+++ b/tv/2configs/xsessions/default.nix
@@ -0,0 +1,5 @@
+{
+ imports = [
+ ./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";
+ };
+ };
+}