rm element web

This commit is contained in:
cy 2025-04-05 12:57:19 -04:00
parent 7c180248fb
commit 8ead8c14e3
Signed by: cy
SSH key fingerprint: SHA256:o/geVWV4om1QhUSkKvDQeW/eAihwnjyXkqMwrVdbuts
4 changed files with 7 additions and 34 deletions

View file

@ -24,6 +24,7 @@
golang.go
ms-python.python
christian-kohler.path-intellisense
# firefox-devtools.vscode-firefox-debug
];
userSettings =
let
@ -74,6 +75,11 @@
"telemetry.enableTelemetry" = false;
"telemetry.telemetryLevel" = "off";
"window.titleBarStyle" = "custom";
# https://github.com/ChristianKohler/PathIntellisense#installation
"typescript.suggest.paths" = false;
"javascript.suggest.paths" = false;
"path-intellisense.absolutePathToWorkspace" = true;
# terminal stuff
"terminal.integrated.cursorBlinking" = true;

View file

@ -21,6 +21,7 @@
# see https://github.com/sharkdp/bat/issues/1077#issuecomment-652785399
"scrollback_pager" = "bat --pager='less -FR +G'";
# "scrollback_lines" = 20000;
wheel_scroll_multiplier = 50;
};
keybindings = {
# kitty_mod is ctrl+shift by default

View file

@ -18,7 +18,6 @@
./grafana.nix
./conduwuit.nix
./immich.nix
./element.nix
./forgejo.nix
./garage.nix
./tailscale.nix

View file

@ -1,33 +0,0 @@
{
pkgs,
config,
...
}:
{
virtualisation.oci-containers.containers.element = {
image = "vectorim/element-web";
autoStart = true;
ports = [ "127.0.0.1:8089:8089" ];
pull = "newer";
networks = [ "element-net" ];
environment = {
ELEMENT_WEB_PORT = "8089";
};
};
systemd.services.create-element-net = {
serviceConfig.Type = "oneshot";
wantedBy = with config.virtualisation.oci-containers; [
"${backend}-element.service"
];
script = ''
${pkgs.podman}/bin/podman network exists element-net || \
${pkgs.podman}/bin/podman network create element-net
'';
};
services.caddy.virtualHosts."element.cy7.sh".extraConfig = ''
import common
reverse_proxy localhost:8089
'';
}