code-server

This commit is contained in:
2025-08-02 00:18:35 -05:00
parent ffe154e815
commit a2616fdd6e
3 changed files with 39 additions and 0 deletions

View File

@@ -273,6 +273,7 @@
};
rustdesk.enable = false; #broken
pihole.enable = true; #broken
code-server.enable = true;
};
};
};

View File

@@ -0,0 +1,37 @@
{ config, lib, ... }: {
options.sysconfig.opts.virtualization.code-server.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf config.sysconfig.opts.virtualization.code-server.enable {
containers.code-server = {
autoStart = true;
privateNetwork = true;
hostAddress = "192.168.100.10";
localAddress = "192.168.100.29";
config = {
services.code-server = {
enable = true;
hashedPassword = "1$WFYzcW1TNmpYM1ZKU3lielNCaXAyRkF2K3FjPQ$bSeeV4bvL2uiDYKiQjBLJPAO13/gNjYVgw8YKFtTQDI";
disableUpdateCheck = true;
disableTelemetry = true;
disableGettingStartedOverride = true;
auth = "password";
};
system.stateVersion = "25.05";
};
};
};
}

View File

@@ -16,5 +16,6 @@
./ollama
./n8n
./wyoming
./code-server
];
}