/nix-config

nix, flake and home manager configs

Primary LanguageNix

nix-config

Based on EmergentMind's Nix Configs.

Getting started in NixOS:

  1. After installation, run nix-shell -p git nixFlakes to get the necessary tools.
  2. Clone this repo with git clone.
  3. Run sudo nixos-rebuild switch --flake .#<hostname> in the repo to get the necessary tools.

Layout:

nix-config/
├-- README.md        # You are here.
├-- flake.nix        # Main NixOS flake
├-- flake.lock       # Flake lock file
├-- home-manager/    # Home-manager configs. Basically stuff that's not part of the whole system
|   ├-- home.nix     # Main home-manager config
|   ├-- lore/        # User config for lore 
|   └-- tmux.nix     # Config for tmux
├-- hosts/           # Nix/NixOS configs, system-wide configurations.
    ├-- common/      # NixOS configs common for all hosts
    ├-- nixtest/     # NixOS configs for NixTest
    └-- lore/        # NixOS configs for Lore