From 3f8e97366c8d9999acfdaf06aef84bb1f07b28f4 Mon Sep 17 00:00:00 2001 From: Katherina Walshe-Grey Date: Fri, 2 Aug 2024 12:01:00 +0100 Subject: [PATCH 1/3] vscode: don't install language servers if vscode is not installed --- home/vscode.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/home/vscode.nix b/home/vscode.nix index d8ded74..32e51ef 100644 --- a/home/vscode.nix +++ b/home/vscode.nix @@ -1,6 +1,8 @@ { config, lib, pkgs, ... }: -{ +let + inherit (lib) mkIf; +in { programs.vscode = { enableExtensionUpdateCheck = false; enableUpdateCheck = false; @@ -41,9 +43,9 @@ }; # Language servers etc - home.packages = with pkgs; [ + home.packages = mkIf config.programs.vscode.enable (with pkgs; [ gopls nil nixpkgs-fmt - ]; + ]); } From 86dc9a560672384473a7718eef9f290539e56d1c Mon Sep 17 00:00:00 2001 From: Katherina Walshe-Grey Date: Fri, 2 Aug 2024 12:01:23 +0100 Subject: [PATCH 2/3] vscode: switch theme to gruvbox --- home/vscode.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/vscode.nix b/home/vscode.nix index 32e51ef..bb4c548 100644 --- a/home/vscode.nix +++ b/home/vscode.nix @@ -9,9 +9,9 @@ in { package = pkgs.vscodium; extensions = with pkgs.vscode-extensions; [ open-vsx.golang.go + open-vsx.jdinhlife.gruvbox open-vsx.jnoortheen.nix-ide open-vsx.ms-python.python - open-vsx.robbowen.synthwave-vscode ]; mutableExtensionsDir = false; userSettings = { @@ -38,7 +38,7 @@ in { }; "terminal.integrated.allowChords" = false; "terminal.integrated.defaultProfile.linux" = "zsh"; - "workbench.colorTheme" = "SynthWave '84"; + "workbench.colorTheme" = "Gruvbox Dark Hard"; }; }; From 7f74fdbe874b4a6901dfbde1b9717355dd68ec4c Mon Sep 17 00:00:00 2001 From: Katherina Walshe-Grey Date: Fri, 2 Aug 2024 12:03:12 +0100 Subject: [PATCH 3/3] tohru: install prismlauncher, uninstall thunderbird --- hosts/tohru/home.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/tohru/home.nix b/hosts/tohru/home.nix index 70e2c75..a9b0532 100644 --- a/hosts/tohru/home.nix +++ b/hosts/tohru/home.nix @@ -16,7 +16,6 @@ gimp-with-plugins jellyfin-media-player keepassxc - thunderbird tor-browser-bundle-bin # libreoffice @@ -26,6 +25,7 @@ # games openttd + prismlauncher nur.repos.qenya.digital-a-love-story nur.repos.qenya.dont-take-it-personally-babe ]);