Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 1.54 KB

README.md

File metadata and controls

53 lines (39 loc) · 1.54 KB

home-manager

check

This is my personal configuration for nix home manager

I'm using MacOs. This config could be easily migrated to anything nix supports.

setup

  1. Clone this repo
  2. Install homebrew
  3. Install packages via brew
brew bundle

It's used only for karabiner and alacritty as nix installation for them is either complicated/brittle.

  1. Install nix with flakes

  2. Install home-manager

Run the initial setup which will build all the derivations which may take a while.

  1. Override home manager dir with this repo and install packages in this nix flake

Make sure to update username & home path in flake.nix

      homeConfigurations.vaporif =
        home-manager.lib.homeManagerConfiguration {
          inherit pkgs;
          modules = [
            {
              home = {
                username = "vaporif";
                homeDirectory = "/Users/vaporif";
                stateVersion = "24.05";
              };
            }

and nvim lazy-lock path in nvim/init.lua

  lockfile = '/Users/vaporif/.config/home-manager/nvim/lazy-lock.json',
home-manager switch

Learning