feat: wezterm as default terminal

This commit is contained in:
Poby 2026-03-14 01:06:03 +09:00
parent 006eaf33be
commit 4b76b22942
No known key found for this signature in database
6 changed files with 25 additions and 37 deletions

View file

@ -2,7 +2,8 @@
pkgs,
username,
...
}: {
}:
{
imports = [
./fd.nix
./fzf.nix
@ -17,7 +18,7 @@
./jq.nix
./lazygit.nix
./mise.nix
# ./ghostty.nix # FIXME: ghostty home-manager program not available in aarch64-darwin
./terminal.nix
./bat.nix
./aerospace.nix
# TODO ./pass.nix
@ -30,16 +31,11 @@
# packages that are not available via programs
packages = with pkgs; [
# nix-search-tv
# FIXME: NIX_SHELL_CMD='nix-shell --run $SHELL -p $(echo "{}" | sed "s:nixpkgs/::g"' ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that.
# (writeShellApplication {
# name = "ns";
# runtimeInputs = with pkgs; [
# fzf
# nix-search-tv
# ];
# text = builtins.readFile "${pkgs.nix-search-tv.src}/nixpkgs.sh";
# })
raycast
ice-bar
keka
stats
iina
];
};

View file

@ -1,14 +0,0 @@
{
programs.ghostty = {
enable = true;
enableZshIntegration = true;
enableBashIntegration = true;
settings = {
theme = "catppuccin-mocha";
font-family = "D2Coding";
font-size = 15;
macos-icon = "xray";
};
};
}

View file

@ -1,6 +1,7 @@
{
# treesitter
enable = true;
addDefaultGrammars = true;
fold = true;
highlight = {
enable = true;

7
home/terminal.nix Normal file
View file

@ -0,0 +1,7 @@
{
programs.wezterm = {
enable = true;
enableZshIntegration = true;
enableBashIntegration = true;
};
}

View file

@ -1,4 +1,5 @@
{pkgs, ...}: {
{ pkgs, ... }:
{
nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [
@ -35,12 +36,7 @@
"hammerspoon"
# TODO use nixpkgs when possible
# "google-chrome"
# "iina"
# "jordanbaird-ice"
# "keka"
# "shottr"
# "raycast"
# "stats"
"shottr"
];
};
}

View file

@ -46,11 +46,13 @@
};
controlcenter = {
Sound = false;
Bluetooth = false;
AirDrop = false;
BatteryShowPercentage = false;
Bluetooth = false;
Display = false;
FocusModes = false;
NowPlaying = false;
Sound = false;
};
menuExtraClock = {