From 80fae0b504d622a81c3549770d47d55115fbda41 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Tue, 4 Oct 2022 01:57:51 +0200 Subject: [PATCH] vscode and title limit --- config.nix | 2 +- profiles/base/default.nix | 4 ++++ profiles/xsession/polybar.nix | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/config.nix b/config.nix index 9904243..5b08c82 100644 --- a/config.nix +++ b/config.nix @@ -1,5 +1,5 @@ let - unstable = import { }; + unstable = import { }; stable = import {}; nur = import { pkgs = unstable; }; in diff --git a/profiles/base/default.nix b/profiles/base/default.nix index c2d4d5a..5c1e755 100644 --- a/profiles/base/default.nix +++ b/profiles/base/default.nix @@ -194,6 +194,10 @@ in package = pkgs.vscodium; extensions = with pkgs.vscode-extensions; [ bbenoist.nix + + matklad.rust-analyzer + vadimcn.vscode-lldb + ] ++ lib.optionals config.nixpkgs.config.allowUnfree [ ms-vsliveshare.vsliveshare ]; userSettings = { diff --git a/profiles/xsession/polybar.nix b/profiles/xsession/polybar.nix index 83a40a8..e0e667e 100644 --- a/profiles/xsession/polybar.nix +++ b/profiles/xsession/polybar.nix @@ -78,6 +78,7 @@ in }; "module/title" = { type = "internal/xwindow"; + label-maxlen = 40; }; "module/wlan" = lib.mkIf (config.machine.wlan != null) { type = "internal/network";