tv xsessions: add user urxvtd socket and service
This commit is contained in:
parent
82ab279a82
commit
2868b43e81
@ -1,4 +1,5 @@
|
||||
{
|
||||
imports = [
|
||||
./urxvtd.nix
|
||||
];
|
||||
}
|
||||
|
15
tv/2configs/xsessions/urxvtd.nix
Normal file
15
tv/2configs/xsessions/urxvtd.nix
Normal file
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user