diff options
Diffstat (limited to 'configs/xsessions')
-rw-r--r-- | configs/xsessions/default.nix | 5 | ||||
-rw-r--r-- | configs/xsessions/urxvtd.nix | 15 |
2 files changed, 20 insertions, 0 deletions
diff --git a/configs/xsessions/default.nix b/configs/xsessions/default.nix new file mode 100644 index 0000000..384c9c5 --- /dev/null +++ b/configs/xsessions/default.nix @@ -0,0 +1,5 @@ +{ + imports = [ + ./urxvtd.nix + ]; +} diff --git a/configs/xsessions/urxvtd.nix b/configs/xsessions/urxvtd.nix new file mode 100644 index 0000000..de16a63 --- /dev/null +++ b/configs/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"; + }; + }; +} |