feat: Added tako
This commit is contained in:
17
nixos/tako/services/vscode.nix
Normal file
17
nixos/tako/services/vscode.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{pkgs, ...}: {
|
||||
services = {
|
||||
openvscode-server = {
|
||||
enable = true;
|
||||
port = 3000;
|
||||
host = "0.0.0.0";
|
||||
extraPackages = with pkgs; [];
|
||||
withoutConnectionToken = true;
|
||||
};
|
||||
caddy = {
|
||||
virtualHosts."code.darksailor.dev".extraConfig = ''
|
||||
import auth
|
||||
reverse_proxy localhost:3000
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user