Skip to content

Instantly share code, notes, and snippets.

@slinkardbrandon
Last active February 28, 2023 17:00
Show Gist options
  • Save slinkardbrandon/121aadbbe8dc9db862d16aa0e969fcae to your computer and use it in GitHub Desktop.
Save slinkardbrandon/121aadbbe8dc9db862d16aa0e969fcae to your computer and use it in GitHub Desktop.
Dotfiles replacement

Replacing dotfiles TODO

  1. Install Nix

  2. Install packages with Nix

    • nvim
    • fish
    • thefuck
  3. Set default shell to fish

    • grep -qxF "$(which fish)" /etc/shells || sudo sh -c "echo $(which fish) >> /etc/shells"
    • chsh -s $(which fish)
  4. Add nix fish path:

    • fish_add_path ~/.nix-profile/bin
    • fish_add_path /nix/var/nix/profiles/default/bin
  5. Install fisher plugin manager

    • curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher
    • Install fisher plugins
    • fisher install jethrokuan/z
    • fisher install jorgebucaran/nvm.fish
  6. Install pnpm

    • curl -fsSL https://get.pnpm.io/install.sh | sh -
  7. Rewrite bootstrapping script

  8. Rewrite OS setup scripts

    • MacOS
    • Windows
    • Debian/Ubuntu
  9. Solve secret env var management / remote storage

  10. Configure + symlink fish configs

  11. Configure + symlink nvim configs

  12. Setup fish aliases and functions

MacOS

MacOS TODO

  1. Solve initial xcode + git setup stupidity that ruins those beautiful install scripts
  2. Configure annoying system things / defaults

MacOS Setup

  1. sh <(curl -L https://nixos.org/nix/install)

Linux

Linux TODO

Linux Setup

  1. sh <(curl -L https://nixos.org/nix/install) --daemon

Nix Packages

  1. nix-env -iA nixpkgs.fish # the goat shell
  2. nix-env -iA nixpkgs.neovim # the goat editor
  3. nix-env -iA nixpkgs.alacritty # cross platform terminal emulator
  4. nix-env -iA nixpkgs.tmux # terminal multiplexer goodness
  5. nix-env -iA nixpkgs.ripgrep # greppyboi
  6. nix-env -iA nixpkgs.thefuck
  7. nix-env -iA nixpkgs.kubernetes-helm
  8. nix-env -iA nixpkgs.helmfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment