Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.24 KB

File metadata and controls

41 lines (29 loc) · 1.24 KB

Home Manager setup

Links

Dependencies

How to get bootstrap

  • In flake.nix there is a homeConfigurations.example rename it to homeConfigurations.<your-username> as well as the home.username and the home.directory.
  • Also rename the ./homes/example folder to ./homes/<your-username> and make sure in homeConfigurations.<your-username> you include this folder instead of ./home/example

How to apply HomeManger configuration

nix develop                                       # only need to be done the first time
home-manager switch --flake .                     # will find the homeConfiguration.<your-username>
home-manager switch --flake .#<not-your-username> # will install the home of another user (might not work because of permissions)

How to format

nix fmt # will run treefmt

How to update

nix flake upate # will update all inputs in flake.nix (flake.lock)