Skip to content

Repository files navigation

Dotfiles

Personal dotfiles and Nix configuration.

The nix/ directory contains NixOS and Home Manager configurations.

Managed configurations

  • Sway, Waybar, Rofi, and Mako
  • Alacritty and Fish
  • Neovim
  • fcitx5
  • Git message template and helper scripts

Requirements

Install the required packages before running the installer. A package-installation helper is included:

./scripts/install-packages.sh

The helper installs packages on Arch Linux. It also detects Void Linux, FreeBSD, OpenBSD, NetBSD, and DragonFly BSD, but package installation for those systems is not implemented yet and exits with an error.

Git setup

After installing Git and delta, configure them with:

./scripts/setup-git.sh

Installation

git clone https://github.com/yutadev31/dotfiles.git ~/dotfiles
cd ~/dotfiles
./install.sh

The launcher asks for confirmation before installing packages and dotfiles. The dotfile installer moves existing managed paths to a unique directory under ~/.dotfiles-backup, then creates symbolic links to this repository. If an installation step fails, it restores paths changed during that run.

See the installer guide for the behavior, supported platforms, options, and side effects of every installer and setup helper.

Preview the changes without modifying your home directory:

./scripts/install-files.sh --dry-run

Local configuration

dotconf.sh contains machine-specific settings and is not tracked by Git. Create it from the example before installing:

cp dotconf.example.sh dotconf.sh

Set gui=no to skip GUI-related packages and configurations, including Sway, Waybar, Rofi, Mako, Alacritty, fcitx5, wallpapers, and the Sway configuration generation step.

License

Unless otherwise noted, this repository is licensed under the MIT License.

Some files are subject to different licenses. The applicable license notices for those files can be found in LICENSES/.

home/.local/share/wallpapers/smile_original.png is an unmodified copy from atraxsrc/tokyonight-wallpapers and is licensed under GPL-2.0-only. Its license text and notice are available in LICENSES/.

About

Personal dotfiles and Nix configuration.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Contributors

Languages