My personal dotfiles. Managed with Nix Flake.
Currently my dotfiles are adapted for three kinds of OSes: NixOS, macOS and Ubuntu. The configurations are divided into two parts: system-wide and user-wide. You can install these two parts individually.
Before installation, at least make sure you’ve installed git
, curl
and
make
. If you are on Ubunut, ./scripts/init-ubuntu
can help you do that.
Install system-wide configuration:
# Depending on which OS you are on.
make init-nixos
make init-darwin
make init-ubuntu
Install user-wide configuration:
make init-home
Or, if you only want to install Nix as a package manager:
make install-nix
which utilizes the nix-installer from DeterminateSystems.
NOTE:
make init-home
only affects user-level configurations. Therefore, it even does not require “sudo”, as long as you have correctly installed Nix. As a result, it 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). This fact matters when you want to install my dotfiles on Ubuntu.
- rennsax/init.lua: My neovim configuration. (I do not use Neovim anymore, hence it may be obsolete.)
- rennsax/.emacs.d: My Emacs configuration. 🍓