feat: some more home-manager programs

This commit is contained in:
Sangmin Kim 2026-03-04 22:30:52 +09:00 committed by Poby
parent 54297f94fd
commit 88baae6581
No known key found for this signature in database
8 changed files with 35 additions and 118 deletions

View file

@ -5,6 +5,7 @@
git
neovim
just # use Justfile to simplify nix-darwin's commands
tree
];
environment.variables.EDITOR = "nvim";
@ -26,15 +27,12 @@
taps = [];
# WARNING only include those not in nixpkgs
brews = [
# "neovim"
# "ripgrep"
# "fd"
];
brews = [];
casks = [
"batfi"
"hammerspoon"
# TODO use nixpkgs when possible
# "google-chrome"
# "iina"
# "jordanbaird-ice"
@ -42,17 +40,6 @@
# "shottr"
# "raycast"
# "stats"
# Fonts
"font-fontawesome"
"font-jetbrains-mono-nerd-font"
"font-meslo-lg-nerd-font"
"font-d2coding"
"font-fira-code-nerd-font"
"font-symbols-only-nerd-font"
"font-material-design-icons-webfont"
"font-pretendard"
"font-maple-mono-nf"
];
};
}

View file

@ -11,6 +11,7 @@
primaryUser = username;
stateVersion = 6;
# symlink /Applications/Nix Apps to /Applications for Spotlight
activationScripts.extraActivation.text = ''
# activateSettings -u will reload the settings from the database and apply them to the current session,
# so we do not need to logout and login again to make the changes take effect.
@ -177,52 +178,14 @@
# Add ability to used TouchID for sudo authentication
security.pam.services.sudo_local.touchIdAuth = true;
# Create /etc/zshrc that loads the nix-darwin environment.
# this is required if you want to use darwin's default shell - zsh
programs.zsh = {
enable = true;
# enableCompletion = true;
# enableAutosuggestions = true;
# enableFastSyntaxHighlighting = true;
# enableFzfCompletion = true;
# enableFzfGit = true;
# enableFzfHistory = true;
# promptInit = ''
# source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme
# source ${pkgs.zsh-fzf-tab}/share/fzf-tab/fzf-tab.plugin.zsh
# '';
};
environment = {
shells = [
pkgs.zsh
];
# shellAliases = {
# ls = "lsd --color=auto";
# l = "lsd -lhG";
# lt = "l --tree";
# ll = "lsd -alhG";
# lh = "lsd -dl .*";
# lsd = "lsd --group-directories-first";
# filecount = "find . -type f | wc -l";
# cat = "bat --color=always";
# man = "tldr";
# nixrebuild = "sudo darwin-rebuild switch --flake ~/.config/nix-darwin";
# nixupgrade = "cd ~/.config/nix-darwin && nix flake update";
# nixconfig = "nvim ~/.config/nix-darwin";
# sshconfig = "nvim ~/.ssh/config";
#
# # git
# g = "git";
# gaa = "git add --all";
# gcm = "git commit -m";
# gca = "git commit --amend";
# gst = "git status";
# gco = "git checkout";
# gl = "git pull";
# gp = "git push";
# glg = "git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ad) %C(bold blue)<%an>%Creset' --date=short";
# };
};
fonts = {