Mac | Linux | |
Window Manager | yabai | hyprland |
Status Bar | sketchybar | waybar |
Terminal Emulator | Wezterm,alacritty | Wezterm, alacritty |
Application Runner | raycast | wofi |
Notification Manager | Mako | |
Editors | Emacs,VSCode | Emacs |
Color scheme | Catppuccin | Catppuccin |
Input method framework | Squirrel | fcitx5 with rime |
System resource monitor | btop | |
Shell | fish + starship | fish + starship |
default.nix for nixos system-wide config darwin.nix for mac system-wide config home.nix for nixos and darwin user-wide config
├── assets # pictures
├── flake.lock
├── flake.nix
├── hosts # home-manager config
│ ├── i12500
│ └── macbook-pro-m1
├── machines # system-wide
│ ├── i12500
│ └── macbook-pro-m1
├── Makefile
├── modules
│ ├── browser
│ ├── desktop # window manager
│ │ ├── wayland # wayland with hyprland
│ │ └── yabai
│ ├── downloader #
│ ├── editors
│ │ ├── codeblocks
│ │ ├── emacs
│ │ ├── helix
│ │ ├── home.nix
│ │ ├── jetbrains
│ │ ├── vim
│ │ └── vscode
│ ├── fonts
│ │ ├── default.nix # nixos special config
│ │ └── fonts.nix # darwin and nixos use
│ ├── graphics
│ ├── hardware
│ ├── homebrew
│ ├── im
│ ├── keyboard
│ ├── lang
│ ├── locale
│ ├── media
│ ├── network
│ ├── nixpkgs # home-manager nix-darwin nixos both use these pkgs
│ │ ├── base.nix # nixpkgs config
│ │ ├── darwin.nix
│ │ ├── default.nix
│ │ └── nix.nix
│ ├── office
│ ├── shells
│ ├── socialMedia
│ ├── system
│ ├── terminal
│ └── vm
├── overlays
├── pkgs
└── README.org
mkdir -p ~/.config/nix echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
curl -L https://nixos.org/nix/install | sh nix-build https://github.com/LnL7/nix-darwin/archive/master.tar.gz -A installer ./result/bin/darwin-installer nix-env -iA nixpkgs.git git clone https://github.com/klchen0112/dotfiles path/to/config cd path/to/config # change your username in flake.nix # for rebuild make up