Configs that help me to quickly install all software I need for work and fun, and configure OS.
Go to file
2024-03-15 12:40:50 +08:00
.editorconfig feat: add NixOS configuration.nix file and shell script to rebuild it 2024-03-06 22:17:11 +08:00
.gitignore feat: add NixOS configuration.nix file and shell script to rebuild it 2024-03-06 22:17:11 +08:00
Brewfile Update Brewfile 2023-09-05 00:59:19 +08:00
build-nix.sh fix: copy all .nix files before rebuild 2024-03-06 22:47:41 +08:00
configuration.nix feat(nix): install Solaar with correct permissions 2024-03-15 12:40:29 +08:00
cron-adjust-microphone-gain-to-100.sh feat: add script to adjust microphone volume to 100% on macOS, to avoid "auto adjusting" 2024-02-28 18:51:03 +08:00
LICENSE docs(license): add MIT license text file 2024-03-15 12:40:50 +08:00
Makefile feat: add NixOS configuration.nix file and shell script to rebuild it 2024-03-06 22:17:11 +08:00
README.md feat: add NixOS configuration.nix file and shell script to rebuild it 2024-03-06 22:17:11 +08:00
ssh-config.nix.example feat: add NixOS configuration.nix file and shell script to rebuild it 2024-03-06 22:17:11 +08:00

Dotfiles

In this repo I store my config files.

  • Brewfile for macOS (I'm about to drop it).
  • configuration.nix for NixOS (a new linux distro for me, that I'm exploring as a replacement for macOS). It helps me to install quickly all software I need for work and fun. Feel free to check & alter the list of software to be installed in these files.

Installation

macOS/Brew

  1. Install Brew from here: https://brew.sh/
  2. Copy Brewfile to your computer and run brew bundle from the same folder where you copied the file.
  3. Run chmod +x ./cron-adjust-microphone-gain-to-100.sh and ./cron-adjust-microphone-gain-to-100.sh to change microphone gain to 100% on macOS.

Note: Brew will ask you for the root password and other apps inside Brewfile might ask you for your password as well.
Usually installation takes 10-20 min, so make sure to brew a cup of tea or coffee :)

NixOS

  1. chmod +x ./build-nix.sh
  2. [Optionally] SSH Config cp ./ssh-config.nix.example ./ssh-config.nix and fill with your values.
  3. [First run] ./build-nix.sh or [then] just make