Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 421 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 421 Bytes

Flake

Usage

Use flake to rebuild nix configuration

macOS:

# We use nix-darwin on macOS: https://github.com/LnL7/nix-darwin
# Bash:
darwin-rebuild switch --flake .#MacBook
# or Zsh:
darwin-rebuild switch --flake ".#MacBook"

Windows(WSL):

# Bash:
sudo nixos-rebuild switch --flake .#WSL
# or Zsh:
sudo nixos-rebuild switch --flake ".#WSL"

Format nix files

nix fmt