A NixOS Module that is used to declaratively configure your home directory ~/.config folder. This effectively makes configuration.nix the only Dotfile you ever need

Installation (Root Level)

  1. Add these lines to your Flakes file flakes.nix
  2. Bring inputs parameter to configuration.nix function scope
  3. Add these lines to configuration.nix
  4. nix run home-manager/master -- init && sudo cp ~/.config/home-manager/home.nix /etc/nixos
  5. Finally rebuild. sudo nixos-rebuild switch --flake /etc/nixos#default You will now have a home.nix in /etc/nixos/

Installation (Userland)

  1. Add the package pkgs.home-manager to configuration.nix
  2. home-manager init

Updating Home-Manger

home-manager switch