My personal dotfiles. Managed with Nix Flake.
Before installation, at least make sure you’ve installedgit
,curl
and
make
.
make install-nix#install Nix
make init-ubuntu#bootstrap Ubuntu
nix run nix-darwin -- switch --flake.#${DARWIN_MACHINE} # nix-darwin
nix run home-manager -- --impure switch --flake.#${HOME_MACHINE} # home-manager
NOTE on Ubuntu:
Home-manager won’t change the user’s default shell which needs to touch the
system file/etc/passwd
.You may manually set the default with chsh(1).
- rennsax/init.lua: My neovim configuration.(I do not use Neovim anymore, hence it may be obsolete.)
- rennsax/.emacs.d: My Emacs configuration. 🍓
Q: Do you use Homebrew anymore?
A: Yes. I usehomebrew-caskto install macOS applications for which I’m not concerned about updates. For some applications like iTerm2, I still use Nix to pin its version.
Q: Why Nix?
A: Because I’m foolish and dull.