mirror of
https://github.com/smg1024/nix-darwin.git
synced 2026-05-22 20:32:59 +09:00
feat: wezterm as default terminal
This commit is contained in:
parent
006eaf33be
commit
4b76b22942
6 changed files with 25 additions and 37 deletions
|
|
@ -2,7 +2,8 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
username,
|
username,
|
||||||
...
|
...
|
||||||
}: {
|
}:
|
||||||
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./fd.nix
|
./fd.nix
|
||||||
./fzf.nix
|
./fzf.nix
|
||||||
|
|
@ -17,7 +18,7 @@
|
||||||
./jq.nix
|
./jq.nix
|
||||||
./lazygit.nix
|
./lazygit.nix
|
||||||
./mise.nix
|
./mise.nix
|
||||||
# ./ghostty.nix # FIXME: ghostty home-manager program not available in aarch64-darwin
|
./terminal.nix
|
||||||
./bat.nix
|
./bat.nix
|
||||||
./aerospace.nix
|
./aerospace.nix
|
||||||
# TODO ./pass.nix
|
# TODO ./pass.nix
|
||||||
|
|
@ -30,16 +31,11 @@
|
||||||
|
|
||||||
# packages that are not available via programs
|
# packages that are not available via programs
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
# nix-search-tv
|
raycast
|
||||||
# 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.
|
ice-bar
|
||||||
# (writeShellApplication {
|
keka
|
||||||
# name = "ns";
|
stats
|
||||||
# runtimeInputs = with pkgs; [
|
iina
|
||||||
# fzf
|
|
||||||
# nix-search-tv
|
|
||||||
# ];
|
|
||||||
# text = builtins.readFile "${pkgs.nix-search-tv.src}/nixpkgs.sh";
|
|
||||||
# })
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
# treesitter
|
# treesitter
|
||||||
enable = true;
|
enable = true;
|
||||||
|
addDefaultGrammars = true;
|
||||||
fold = true;
|
fold = true;
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
7
home/terminal.nix
Normal file
7
home/terminal.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
programs.wezterm = {
|
||||||
|
enable = true;
|
||||||
|
enableZshIntegration = true;
|
||||||
|
enableBashIntegration = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{pkgs, ...}: {
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
@ -35,12 +36,7 @@
|
||||||
"hammerspoon"
|
"hammerspoon"
|
||||||
# TODO use nixpkgs when possible
|
# TODO use nixpkgs when possible
|
||||||
# "google-chrome"
|
# "google-chrome"
|
||||||
# "iina"
|
"shottr"
|
||||||
# "jordanbaird-ice"
|
|
||||||
# "keka"
|
|
||||||
# "shottr"
|
|
||||||
# "raycast"
|
|
||||||
# "stats"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -46,11 +46,13 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
controlcenter = {
|
controlcenter = {
|
||||||
Sound = false;
|
|
||||||
Bluetooth = false;
|
|
||||||
AirDrop = false;
|
AirDrop = false;
|
||||||
|
BatteryShowPercentage = false;
|
||||||
|
Bluetooth = false;
|
||||||
Display = false;
|
Display = false;
|
||||||
|
FocusModes = false;
|
||||||
NowPlaying = false;
|
NowPlaying = false;
|
||||||
|
Sound = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
menuExtraClock = {
|
menuExtraClock = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue