This repository contains Nix configuration files for setting up and managing development environments.
Table of Contents
Clone the repository:
git clone https://github.com/jakob1379/nix-config.git
cd nix-configApply the configurations by running the provided scripts or commands. Review individual configuration files for details.
The Makefile includes targets to install Nix and Home Manager:
make install: Installs Nix and Home Manager, and sets up necessary configurations.
The devShell provides a consistent development environment:
- Packages: Uses
generalPackagesfor essential tools. - Build Inputs: Includes
pkgs.prekfor managing prek hooks. - Shell Hook: Sets the
PATHfor local Node.js binaries and customizes the shell prompt. - Post Build: Installs and updates prek hooks.
Enter the development shell with:
nix develop
# or automatically with direnv
direnv allow- Comprehensive Nix configurations.
- Setup scripts.
- Support for multiple system installations.
Contributions are welcome! Fork the repository and submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
Explore the repository and customize the configurations to fit your needs!