small fix

This commit is contained in:
Yan Lin 2025-11-14 22:31:24 +01:00
parent c5b8986d4d
commit 429d3f18a7
3 changed files with 6 additions and 6 deletions

View file

@ -4,14 +4,14 @@ with lib;
let
# Detect system architecture and select appropriate package
claudePackage = if pkgs.system == "aarch64-darwin" then
claudePackage = if pkgs.stdenv.hostPlatform.system == "aarch64-darwin" then
claude-code.packages.aarch64-darwin.claude-code
else if pkgs.system == "x86_64-linux" then
else if pkgs.stdenv.hostPlatform.system == "x86_64-linux" then
claude-code.packages.x86_64-linux.claude-code
else if pkgs.system == "aarch64-linux" then
else if pkgs.stdenv.hostPlatform.system == "aarch64-linux" then
claude-code.packages.aarch64-linux.claude-code
else
throw "Unsupported system for Claude Code: ${pkgs.system}";
throw "Unsupported system for Claude Code: ${pkgs.stdenv.hostPlatform.system}";
# Default global permissions
defaultPermissions = {

View file

@ -23,7 +23,7 @@ in
nerd-fonts.jetbrains-mono
# Ubuntu font family
ubuntu_font_family
ubuntu-classic
# CJK fonts for proper Chinese/Japanese/Korean character display
noto-fonts-cjk-sans # Comprehensive CJK support