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

14 lines
268 B
Nix
Raw Normal View History

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 = [
"/srv/containers/code-server:/config"
2023-05-16 22:01:26 +08:00
];
ports = [ "8443:8443" ];
};
}