Personal-use NixOS configuration
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Configure zed better

encode42 a242cbff 2804eddf

+36 -11
+36 -11
homes/encode42/desktop/zed.nix
··· 1 - { pkgs, pkgs-unstable, ... }: 1 + { 2 + lib, 3 + pkgs, 4 + pkgs-unstable, 5 + ... 6 + }: 2 7 8 + let 9 + # stable is way too outdated 10 + biomePackage = pkgs-unstable.biome; 11 + in 3 12 { 4 13 programs.zed-editor = { 5 14 enable = true; ··· 33 42 dark = "Catppuccin Macchiato"; 34 43 }; 35 44 36 - nix = { 37 - binary = { 38 - path_lookup = true; 45 + buffer_font_family = "Jetbrains Mono"; 46 + 47 + terminal = { 48 + font_family = "Jetbrains Mono"; 49 + }; 50 + 51 + languages = { 52 + Nix = { 53 + language_servers = [ 54 + "nil" 55 + "!nixd" 56 + ]; 39 57 40 - arguments = [ "autoArchive" ]; 58 + formatter.external = { 59 + command = "nixfmt"; 60 + }; 41 61 }; 42 62 }; 43 63 44 - biome = { 45 - binary = { 46 - path_lookup = true; 64 + lsp = { 65 + biome.binary = { 66 + path = lib.getExe biomePackage; 47 67 48 68 arguments = [ "lsp-proxy" ]; 49 69 }; ··· 59 79 package-version-server 60 80 61 81 nil 62 - nixd 82 + nixfmt-rfc-style 63 83 64 - # stable is way too outdated 65 - pkgs-unstable.biome 84 + biomePackage 66 85 eslint 86 + 87 + jetbrains-mono 67 88 ]; 68 89 }; 90 + 91 + home.packages = with pkgs; [ 92 + jetbrains-mono 93 + ]; 69 94 }