Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install vscode in macOS via nixpkgs #882

Merged
merged 2 commits into from
Oct 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions home-manager/darwin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ lib.mkMerge [
(lib.mkIf pkgs.stdenv.isDarwin {
home = {
sessionVariables = {
# * Do not specify Nix store path for zed in macOS
# https://github.com/NixOS/nixpkgs/blob/bba8dffd3135f35810e9112c40ee621f4ede7cca/pkgs/by-name/ze/zed-editor/package.nix#L217-L219
# * `cli: install` action installs into this path in macOS
VISUAL = "zed --wait";
# ## If you prefer zed
# * Do not specify Nix store path for zed in macOS
# https://github.com/NixOS/nixpkgs/blob/bba8dffd3135f35810e9112c40ee621f4ede7cca/pkgs/by-name/ze/zed-editor/package.nix#L217-L219
# * `cli: install` action installs into this path in macOS
# VISUAL = "zed --wait";
VISUAL = lib.getExe edge-pkgs.vscode;

BROWSER = "open";
};
Expand Down Expand Up @@ -55,6 +57,8 @@ lib.mkMerge [

edge-pkgs.podman-desktop # Useable since https://github.com/NixOS/nixpkgs/pull/343648

edge-pkgs.vscode # Keep latest as possible

edge-pkgs.signal-desktop # Useable since https://github.com/NixOS/nixpkgs/pull/348165

homemade-pkgs.maccy
Expand Down