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

@ -5,7 +5,7 @@ args:
firefox-addons = args.firefox-addons or null; firefox-addons = args.firefox-addons or null;
in in
if firefox-addons != null then if firefox-addons != null then
with firefox-addons.packages.${args.pkgs.system}; [ with firefox-addons.packages.${args.pkgs.stdenv.hostPlatform.system}; [
ublock-origin ublock-origin
vimium vimium
cookies-txt cookies-txt

View file

@ -4,14 +4,14 @@ with lib;
let let
# Detect system architecture and select appropriate package # 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 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 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 claude-code.packages.aarch64-linux.claude-code
else else
throw "Unsupported system for Claude Code: ${pkgs.system}"; throw "Unsupported system for Claude Code: ${pkgs.stdenv.hostPlatform.system}";
# Default global permissions # Default global permissions
defaultPermissions = { defaultPermissions = {

View file

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