Common configuration files across my machines.
These files apply to several machines:
- Personal Laptop (OSX)
- Work Laptop (OSX)
- Personal Desktop (NixOS)
Dotfiles and most program installations are managed by the Nix package manager.
Run ./install.sh
. This cross-platform script should set up anything relevant.
You may want to manually step through the install script yourself in case of failure.
After modifying a Nix configuration, run:
igm-system
This will apply your changes. It does not update Nixpkgs-- to do this read the next section.
First, update all Flake dependencies using:
igm-update
Then, to apply the changes, use the command:
igm-switch
Git artifacts must be deleted before generating the Flake lock files. Run this after committing:
git clean -fdX
nix flake lock --recreate-lock-file
To push the latest Darwin M1 configuration to Cachix, run:
cachix-push-m1-config
This is required because GitHub Actions does not have an aarch64-darwin
runner.
MIT