Skip to content

howarddo2208/nixfiles

Repository files navigation

My personal nix files

If you want to use this, highly recommend forking it and change username/home directory, etc. I plan to write a detail guide soon

Instructions migrating (for a fork)

  1. Install nix from nixos.org
  2. Clone the repo to home directory
  3. run nix run "github:howarddo2208/nixfiles#homeConfigurations.{macos|linux}.activationPackage" --extra-experimental-features nix-command --extra-experimental-features flakes change uri to your repo.
  4. Run cd ~/nixfiles/dotfiles && stow -nvSt ~ * to create symlink dotfiles, add -n flag to stow to view simulation before symlink. I won't manage configuration purely with Nix. sync scripts with stow -vSt ~ scripts
  5. first time config
    • set default shell to zsh if you are on linux with bash default command -v zsh | sudo tee -a /etc/shells && chsh -s "$(command -v zsh)". reference. The default shell emulator maynot switch to zsh because it was hard-coded to bash, then you may want to tweak the setting, or install another shell emulator, I recommend wezterm
    • login to github + ssh for it: gh auth login
    • tmux: install plugin manager git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm then tmux source ~/.tmux.conf -> tmux attach -> <C-a> + I
    • login into atuin + sync (command hisotry): atuin login -u username -> atuin sync
    • may need to install some lsp for neovim with :Mason
    • setup wakapi tracker in ~/.wakatime.cfg
      [settings]
      debug = false
      hidefilenames = false
      ignore =
          COMMIT_EDITMSG$
          PULLREQ_EDITMSG$
          MERGE_MSG$
          TAG_EDITMSG$
      api_url = https://wakapi.dev/api
      api_key = <api-key>
      
      
  6. Each time changing the configs: cd ~/nixfiles && home-manager switch --flake ".#{macos|linux}" or alias hms
  7. ??? Profits ???

hmmmmmmmm

  • set SONG_DIR for ytmdl

Some problems I encountered

require node, ripgrep, fd before using

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published