Skip to content

Commit

Permalink
feat: Shortcut to nix config
Browse files Browse the repository at this point in the history
So that we're able to do `darwin-rebuild --flake .` since there's no
default flake path at the moment. There's however a PR that'll set
nix-darwin default flake path to `~/.config/nix-darwin` (or
`/etc/nix-darwin`).

REF:
 - LnL7/nix-darwin#721
 - LnL7/nix-darwin#741
  • Loading branch information
null2264 committed Jul 10, 2024
1 parent 3e58f91 commit 04a682f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .config/zsh/include/aliases
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ alias reUSD='rm -rf /tmp/rate.html /tmp/rateUSD.txt'
#alias mpv='mpv --geometry=1280x720'

#config shortcuts
alias config='cd ${DOTFILES:-$HOME/Build/GIT/dotfiles}'
alias cdnix="cd $XDG_CONFIG_HOME/nix"
alias config="cd ${DOTFILES:-$HOME/Build/GIT/dotfiles}"
alias cfg='config'
alias cfvim='vim $XDG_CONFIG_HOME/nvim/init.lua'
alias cfvimplug='vim $XDG_CONFIG_HOME/nvim/lua/null/plugins/'
Expand Down

0 comments on commit 04a682f

Please sign in to comment.