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,
|
||||
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
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
enable = true;
|
||||
addDefaultGrammars = true;
|
||||
fold = true;
|
||||
highlight = {
|
||||
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;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
@ -35,12 +36,7 @@
|
|||
"hammerspoon"
|
||||
# TODO use nixpkgs when possible
|
||||
# "google-chrome"
|
||||
# "iina"
|
||||
# "jordanbaird-ice"
|
||||
# "keka"
|
||||
# "shottr"
|
||||
# "raycast"
|
||||
# "stats"
|
||||
"shottr"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,11 +46,13 @@
|
|||
};
|
||||
|
||||
controlcenter = {
|
||||
Sound = false;
|
||||
Bluetooth = false;
|
||||
AirDrop = false;
|
||||
BatteryShowPercentage = false;
|
||||
Bluetooth = false;
|
||||
Display = false;
|
||||
FocusModes = false;
|
||||
NowPlaying = false;
|
||||
Sound = false;
|
||||
};
|
||||
|
||||
menuExtraClock = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue