Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 1.05 KB

README.md

File metadata and controls

52 lines (34 loc) · 1.05 KB

Dotfiles

This is to describe the barebones development system I use. Supports NixOS on WSL, Intel and Silicon Macs.

Featuring:

  • Wezterm
  • Tmux
  • Fish
  • Neovim
  • OSX
    • darwin-nix
    • Hammerspoon
    • homebrew mas
    • yabai

Install Nix

On OSX: Determinate Systems Installer. On WSL2: WSL2 Nix

Bootstrap

Warning

I haven't tested bootstrapping this yet, especially on an "unknown" host.

NixOS (currently just WSL)

sudo nixos-install --flake github:evantravers/dotfiles#nixos

Darwin/Linux

nix run nix-darwin -- switch --flake github:evantravers/dotfiles

Update

NixOS

sudo nixos-rebuild switch --flake ~/src/github.com/evantravers/dotfiles

Darwin

darwin-rebuild switch --flake ~/src/github.com/evantravers/dotfiles

Home Manager

You could use something like this to import my home-manager standalone.

{ config, pkgs, ... }: {
  home-manager.users.evan = import ./home-manager/home.nix;
}