From eb5202f93366df5618f80a0b2d758e90b918a4ef Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Wed, 10 Jan 2024 11:17:18 +0100 Subject: [PATCH] Don't think I want this anyway --- nixos/desktop/configuration.nix | 3 ++- nixos/hosts/queen/configuration.nix | 2 -- .../vscode-server/configuration.nix | 24 ------------------- 3 files changed, 2 insertions(+), 27 deletions(-) delete mode 100644 nixos/server/package-configs/vscode-server/configuration.nix diff --git a/nixos/desktop/configuration.nix b/nixos/desktop/configuration.nix index f50a040..6c38e2e 100644 --- a/nixos/desktop/configuration.nix +++ b/nixos/desktop/configuration.nix @@ -118,9 +118,10 @@ services.packagekit.enable = true; # Configure keymap in X11 - services.xserver = { + services.xserver.xkb = { layout = "us"; xkbVariant = ""; + options = "terminate:ctrl_alt_bksp,compose:caps_toggle"; }; # Enable CUPS to print documents. diff --git a/nixos/hosts/queen/configuration.nix b/nixos/hosts/queen/configuration.nix index b15bb60..b8d0f59 100644 --- a/nixos/hosts/queen/configuration.nix +++ b/nixos/hosts/queen/configuration.nix @@ -31,7 +31,6 @@ ../../server/package-configs/jellyfin/configuration.nix ../../server/package-configs/ombi/configuration.nix ../../server/package-configs/aria2/configuration.nix - ../../server/package-configs/vscode-server/configuration.nix ]; boot.tmp.cleanOnBoot = true; @@ -111,7 +110,6 @@ noto-fonts-emoji oh-my-zsh onlyoffice-documentserver - openvscode-server postgresql_16 python3 rsync diff --git a/nixos/server/package-configs/vscode-server/configuration.nix b/nixos/server/package-configs/vscode-server/configuration.nix deleted file mode 100644 index af58c42..0000000 --- a/nixos/server/package-configs/vscode-server/configuration.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ - config, - pkgs, - lib, - ... -}: { - services.openvscode-server = { - enable = true; - port = 7773; - telemetryLevel = "off"; - withoutConnectionToken = true; - }; - services.nginx = { - virtualHosts = { - "code.lillianviolet.dev" = { - forceSSL = true; - enableACME = true; - locations."/" = { - proxyPass = "http://localhost:7773"; - }; - }; - }; - }; -}