fix vscode

This commit is contained in:
Osman Faruk Bayram 2025-10-21 15:29:38 +03:00
parent d98a5734fc
commit 5101d47e2d

View file

@ -1,9 +1,11 @@
{
config,
pkgs,
lib,
...
}:
{
config = (lib.mkIf config.osbmModules.services.vscode-server.enable {
services.code-server = {
# only true if the machine is not pochita
enable = config.networking.hostName != "pochita";
@ -50,4 +52,5 @@
};
};
networking.firewall.allowedTCPPorts = [ config.services.code-server.port ];
});
}