feat: initial macos setup
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user