rm element web
This commit is contained in:
parent
7c180248fb
commit
8ead8c14e3
4 changed files with 7 additions and 34 deletions
|
@ -24,6 +24,7 @@
|
||||||
golang.go
|
golang.go
|
||||||
ms-python.python
|
ms-python.python
|
||||||
christian-kohler.path-intellisense
|
christian-kohler.path-intellisense
|
||||||
|
# firefox-devtools.vscode-firefox-debug
|
||||||
];
|
];
|
||||||
userSettings =
|
userSettings =
|
||||||
let
|
let
|
||||||
|
@ -74,6 +75,11 @@
|
||||||
"telemetry.enableTelemetry" = false;
|
"telemetry.enableTelemetry" = false;
|
||||||
"telemetry.telemetryLevel" = "off";
|
"telemetry.telemetryLevel" = "off";
|
||||||
"window.titleBarStyle" = "custom";
|
"window.titleBarStyle" = "custom";
|
||||||
|
# https://github.com/ChristianKohler/PathIntellisense#installation
|
||||||
|
"typescript.suggest.paths" = false;
|
||||||
|
"javascript.suggest.paths" = false;
|
||||||
|
|
||||||
|
"path-intellisense.absolutePathToWorkspace" = true;
|
||||||
|
|
||||||
# terminal stuff
|
# terminal stuff
|
||||||
"terminal.integrated.cursorBlinking" = true;
|
"terminal.integrated.cursorBlinking" = true;
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
# see https://github.com/sharkdp/bat/issues/1077#issuecomment-652785399
|
# see https://github.com/sharkdp/bat/issues/1077#issuecomment-652785399
|
||||||
"scrollback_pager" = "bat --pager='less -FR +G'";
|
"scrollback_pager" = "bat --pager='less -FR +G'";
|
||||||
# "scrollback_lines" = 20000;
|
# "scrollback_lines" = 20000;
|
||||||
|
wheel_scroll_multiplier = 50;
|
||||||
};
|
};
|
||||||
keybindings = {
|
keybindings = {
|
||||||
# kitty_mod is ctrl+shift by default
|
# kitty_mod is ctrl+shift by default
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
./grafana.nix
|
./grafana.nix
|
||||||
./conduwuit.nix
|
./conduwuit.nix
|
||||||
./immich.nix
|
./immich.nix
|
||||||
./element.nix
|
|
||||||
./forgejo.nix
|
./forgejo.nix
|
||||||
./garage.nix
|
./garage.nix
|
||||||
./tailscale.nix
|
./tailscale.nix
|
||||||
|
|
|
@ -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
|
|
||||||
'';
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue