Warning
For the neovim configuration to work the repository
must live in ~/.dotfiles
There are two primary ways to apply this configuration. The first method is recommended for most users as it handles Home Manager installation if needed.
This method uses a simple shell script to ensure Home Manager is installed and then applies the configuration directly from GitHub.
-
Download and run the installation script:
curl -L https://raw.githubusercontent.com/hadronomy/dotfiles/main/install.sh | bashThis script will:
- Check if Home Manager is installed. If not, it will install it.
- Clone the dotfiles repository to
~/.dotfiles(if it doesn't already exist). - Run
home-manager switch --flake ~/.dotfiles -b backup --impure.
Security Note: It's always a good practice to review the contents of a script before running it, especially when piping directly from the internet. You can view the script at the URL provided.
If you prefer to clone the repository manually, you can do so and then apply the configuration.
-
Clone the repository:
git clone https://github.com/hadronomy/dotfiles ~/.dotfiles # Replace with your repository URL cd ~/.dotfiles
-
Apply the Home Manager configuration:
home-manager switch --flake . -b backup --impure
To enter a development shell with the tools needed to manage the dotfiles:
nix developThis project is licensed under the MIT License - see the LICENSE file for details.