NixOS and Home Manager config

chore(vscode): remove wayland fix. it is now done upstream

nel.pet 6e9f1a77 84f7025f

verified
-11
-11
modules/home/vscode.nix
··· 6 programs.vscode = { 7 enable = true; 8 package = pkgs.vscode.overrideAttrs (final: prev: { 9 - # Force vscode to run with the wayland backend to fix cursor theme issue. 10 - # See https://github.com/NixOS/nixpkgs/issues/142764, 11 - # https://www.reddit.com/r/NixOS/comments/17jeq1w/nix_packages_not_respecting_cursor_theme_nonnixos/ and 12 - # https://discourse.nixos.org/t/please-help-fix-ugly-cursor-in-apps-installed-with-nix-env/11797 13 - nativeBuildInputs = prev.nativeBuildInputs ++ [ pkgs.makeWrapper ]; 14 - postFixup = prev.postFixup + '' 15 - mv $out/bin/code $out/bin/.code-wayland-wrapped 16 - makeWrapper $out/bin/.code-wayland-wrapped $out/bin/code \ 17 - --add-flags "--enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform-hint=auto --enable-wayland-ime" 18 - ''; 19 - 20 # Work around for https://github.com/NixOS/nixpkgs/issues/391341 21 desktopItems = lib.map 22 (i: if
··· 6 programs.vscode = { 7 enable = true; 8 package = pkgs.vscode.overrideAttrs (final: prev: { 9 # Work around for https://github.com/NixOS/nixpkgs/issues/391341 10 desktopItems = lib.map 11 (i: if