Skip to content

Commit 0b650f2

Browse files
committed
enable tabby-socket
1 parent fe04c49 commit 0b650f2

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

nix/configuration.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1248,5 +1248,6 @@ in {
12481248
# Tabby
12491249
#
12501250
services.tabby-server.enable = true;
1251+
services.tabby-socket.enable = true;
12511252
};
12521253
}

nix/tabby-services.nix

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,16 @@ in [
2121
'';
2222
}
2323
)
24+
(
25+
misc.mkService {
26+
srv = "tabby-socket";
27+
mkExe = config: ''
28+
${pkgs.socat}/bin/socat \
29+
TCP-LISTEN:8080,fork,reuseaddr,keepalive \
30+
UNIX:/home/${
31+
config.services.functora.userName
32+
}/.firejail/tabby/tabby.sock,keepalive
33+
'';
34+
}
35+
)
2436
]

0 commit comments

Comments
 (0)