build(system.nix): nix-collect-garbage typo, fastfetch initPropmt

This commit is contained in:
Sangmin Kim 2025-04-10 23:05:55 +09:00
parent b8fd8127bc
commit b954c068fb
3 changed files with 11 additions and 12 deletions

View file

@ -4,8 +4,6 @@
#
# Install all apps and packages here.
#
# TODO Fell free to modify this file to fit your needs.
#
##########################################################################
# Install packages from nix's official package repository.

View file

@ -211,6 +211,7 @@
enableFzfGit = true;
enableFzfHistory = true;
promptInit = ''
fastfetch
source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme
source ${pkgs.zsh-fzf-tab}/share/fzf-tab/fzf-tab.plugin.zsh
'';
@ -231,7 +232,7 @@
cat = "bat --color=always";
man = "tldr";
nixrebuild = "darwin-rebuild switch --flake ~/.config/nix-darwin";
nixupgrade = "cd ~/.config/nix-darwin && nix flake update && nix-garbage-collect";
nixupgrade = "cd ~/.config/nix-darwin && nix flake update && nix-collect-garbage";
nixconfig = "code ~/.config/nix-darwin";
sshconfig = "code ~/.ssh/config";