feat: initial macos setup

This commit is contained in:
2026-08-02 00:29:15 -04:00
parent fc86577c27
commit 925dd4114a
12 changed files with 210 additions and 47 deletions
+7 -3
View File
@@ -1,4 +1,4 @@
{ pkgs, ... }: {
{ pkgs, lib, isDarwin, ... }: {
programs.vscodium = {
enable = true;
package = pkgs.vscodium;
@@ -18,12 +18,16 @@
rust-lang.rust-analyzer
timonwong.shellcheck
unifiedjs.vscode-mdx
yzane.markdown-pdf
]) ++ pkgs.nix4vscode.forOpenVsx [
"akamud.vscode-theme-onedark"
"astral-sh.ty"
"modular-mojotools.vscode-mojo"
];
] ++ lib.optionals (!isDarwin) (with pkgs.vscode-extensions; [
# markdown-pdf pins ungoogled-chromium (Linux-only) as its PDF
# renderer. On macOS, install it from the marketplace by hand and set
# markdown-pdf.executablePath to Chrome/Brave, or render via typst.
yzane.markdown-pdf
]);
userSettings = {
"editor.fontFamily" = "'JetBrains Mono', monospace";