Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
nix
 
 
 
 
sfx
 
 
zsa
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

System updates

Update the system using the following command:

sudo nixos-rebuild switch --flake "$HOME/dotfiles/private#primary"

On Darwin in the root directory of the dotfiles:

nix \
    --experimental-features 'nix-command flakes' \
    build 'private/flakes/darwin/#darwinConfigurations.ian-mbp.system'
./result/sw/bin/darwin-rebuild switch --flake 'private/flakes/darwin/#ian-mbp'

Locking

Git artifacts must be deleted before generating the flake lockfiles. Run this after committing:

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

Updating with flakes

sudo nixos-rebuild switch --flake '.#primary'

License

MIT

About

My dotfiles.

Resources

License

Releases

No releases published

Packages

No packages published