vscode and title limit

This commit is contained in:
Daniel Lovbrotte Olsen 2022-10-04 01:57:51 +02:00
parent 9639108c53
commit 80fae0b504
3 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,5 @@
let let
unstable = import <unstable> { }; unstable = import <nixos-unstable> { };
stable = import <nixpkgs> {}; stable = import <nixpkgs> {};
nur = import <nur> { pkgs = unstable; }; nur = import <nur> { pkgs = unstable; };
in in

View File

@ -194,6 +194,10 @@ in
package = pkgs.vscodium; package = pkgs.vscodium;
extensions = with pkgs.vscode-extensions; [ extensions = with pkgs.vscode-extensions; [
bbenoist.nix bbenoist.nix
matklad.rust-analyzer
vadimcn.vscode-lldb
] ++ lib.optionals config.nixpkgs.config.allowUnfree [
ms-vsliveshare.vsliveshare ms-vsliveshare.vsliveshare
]; ];
userSettings = { userSettings = {

View File

@ -78,6 +78,7 @@ in
}; };
"module/title" = { "module/title" = {
type = "internal/xwindow"; type = "internal/xwindow";
label-maxlen = 40;
}; };
"module/wlan" = lib.mkIf (config.machine.wlan != null) { "module/wlan" = lib.mkIf (config.machine.wlan != null) {
type = "internal/network"; type = "internal/network";