Skip to content

My personal dotfiles. ❤️

License

MIT, WTFPL licenses found

Licenses found

MIT
LICENSE-MIT
WTFPL
LICENSE-WTFPL
Notifications You must be signed in to change notification settings

rennsax/dotfiles

Repository files navigation

GitHub Actions Workflow Status GitHub Release

dotfiles

My personal dotfiles. Managed with Nix Flake.

Installation

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.

See Also

References