dotfiles.nix/nixos/lavender/containers/code-server.nix

14 lines
268 B
Nix

{ ... }:
{
# Code server
virtualisation.oci-containers.containers."code-server" = {
autoStart = true;
image = "lscr.io/linuxserver/code-server:latest";
volumes = [
"/srv/containers/code-server:/config"
];
ports = [ "8443:8443" ];
};
}