2023-05-16 22:01:26 +08:00
|
|
|
{ ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
# Code server
|
|
|
|
virtualisation.oci-containers.containers."code-server" = {
|
|
|
|
autoStart = true;
|
|
|
|
image = "lscr.io/linuxserver/code-server:latest";
|
|
|
|
volumes = [
|
2023-05-17 18:23:19 +08:00
|
|
|
"/srv/containers/code-server:/config"
|
2023-05-16 22:01:26 +08:00
|
|
|
];
|
|
|
|
ports = [ "8443:8443" ];
|
|
|
|
};
|
|
|
|
}
|