From 92f35bf09db97dabb0ca28c6cb6283ceb95fc53b Mon Sep 17 00:00:00 2001 From: jasmine Date: Mon, 23 Jun 2025 23:16:41 +0800 Subject: [PATCH 1/3] refactor --- nixos/common/global/env.nix | 41 ++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/nixos/common/global/env.nix b/nixos/common/global/env.nix index 42d758f..bc749fe 100644 --- a/nixos/common/global/env.nix +++ b/nixos/common/global/env.nix @@ -7,28 +7,27 @@ home-manager # Useful system utilities - tree # directory structure - bc # basic calculator - vim # editor - ranger # console file manager - htop # system monitor - scrot # screenshot - jq # JSON processor - git # version control - nmap # network mapper - xclip # clipboard - ripgrep # searches the current directory for a regex pattern - sshfs # mount filesystems over SSH - feh # image viewer - - # HTTP - curl # transfer dato to/from server - wget # download files from web - - # Archive - unzip # extract zip archive - p7zip # extract 7z archive + tree + bc + fd + vim + ranger + htop + scrot + jq + git + nmap + xclip + ripgrep + sshfs + feh + curl + wget + unzip + p7zip ]; + + # List of directories to be symlinked to /run/current-system/sw pathsToLink = ["/share/zsh"]; }; From e99cf1e064a9ded6605c8a9995ef083fe0034a63 Mon Sep 17 00:00:00 2001 From: jasmine Date: Mon, 23 Jun 2025 23:17:05 +0800 Subject: [PATCH 2/3] install openjdk 17 --- home-manager/sajenim/features/editors/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/home-manager/sajenim/features/editors/default.nix b/home-manager/sajenim/features/editors/default.nix index e4f97aa..e501e94 100644 --- a/home-manager/sajenim/features/editors/default.nix +++ b/home-manager/sajenim/features/editors/default.nix @@ -7,6 +7,7 @@ [ # Toolchains gcc + jdk17 python313 # Typesetting From d3ec5c57c6d9b68606f85df4ab1ce3bc475c397f Mon Sep 17 00:00:00 2001 From: jasmine Date: Thu, 26 Jun 2025 19:30:03 +0800 Subject: [PATCH 3/3] improve graphical performance --- home-manager/sajenim/features/desktop/wezterm/wezterm.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home-manager/sajenim/features/desktop/wezterm/wezterm.lua b/home-manager/sajenim/features/desktop/wezterm/wezterm.lua index f574062..1580a51 100644 --- a/home-manager/sajenim/features/desktop/wezterm/wezterm.lua +++ b/home-manager/sajenim/features/desktop/wezterm/wezterm.lua @@ -14,6 +14,11 @@ local smart_splits = wezterm.plugin.require("https://github.com/mrjones2014/smar -- Do not check for or show window with update information config.check_for_updates = false +-- Improve wezterm graphical performance +config.front_end = "OpenGL" +config.max_fps = 144 +config.animation_fps = 144 + -- Font configuration config.font = wezterm.font("Fisa Code") config.font_size = 10.0