dotfiles/.example_work_profile
2023-08-07 13:45:12 -05:00
..
work_overrides update work profile example 2023-08-07 12:10:06 -05:00
flake.nix update readme, include example work profile 2023-08-04 09:33:10 -05:00
README.md update work profile readme with link to chris' github profile 2023-08-07 13:45:12 -05:00

Work profile overlay

Inspired by the post Published my Nix Dotfiles by @chrisportela.

This repo demonstrates how I use a private repo to overlay my work-specific configurations on top of my personal ones. To use it, I just:

  1. Clone the private repo to my machine.
  2. cd into the private repo.
  3. Run home-manager switch --flake .#<username>@<hostname> to activate the work profile (and then use the switch-home function to (re)activate it in the future).

When the public dotfiles repo gets updated, I run nix flake lock --update-input dotfiles to pull in the changes before doing switch-home to reapply the config.