Skip to content

macalinao/dotfiles

Repository files navigation

dotfiles

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.

Installation

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.

Applying changes

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.

Updating Nixpkgs and other upstream dependencies

First, update all Flake dependencies using:

igm-update

Then, to apply the changes, use the command:

igm-switch

Locking

Git artifacts must be deleted before generating the Flake lock files. Run this after committing:

git clean -fdX
nix flake lock --recreate-lock-file

Pushing to Cachix

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.

License

MIT

Releases

No releases published

Packages

No packages published