Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 2.07 KB

README.org

File metadata and controls

54 lines (38 loc) · 2.07 KB
GitHub Actions Workflow Status GitHub Release

dotfiles

My personal dotfiles. Managed with Nix Flake.

Installation

Before installation, at least make sure you’ve installed git, 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).

See Also

Q&A

Q: Do you use Homebrew anymore?

A: Yes. I use homebrew-cask to 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.

References