Personal configurations of CLI/GUI softwares, package lists and settings for Win11, macOS, NixOS, Arch Linux.
- NixOS-related files should be operative.
- Windows scripts not properly tested yet.
- Not tested on any Apple Silicon device yet! Tested on macOS 10.14+ with x86_64 (Intel) architecture,
- It's been over 7 years on Arch Linux stuff, some of the packages and configurations might be deprecated.
Run the setup script at your own risk or inspect through lots of configs you need! Recommended to cherry-pick on a specific configs.
install.sh will,
- Download and install packages depending on your operating system (macOS or Arch Linux) and package managers.
- Package list is separated into 5 self-explanatory bundles: minimal, essential, extras (CLI/TUI tools), GUI applications and gaming. During the execution, script will ask bundle to choose.
- Create symlinks to configs.
- Note: Existing configs will be renamed after symlinking process (e.g. .tmux.conf -> .tmux.conf.old)
- Change macOS defaults and dock arrangements
- Execute noninvolved
~/.extra/install.shfile if exists. (Not mandatory)
# Clone the repository to your local machine.
git clone https://github.com/egeesin/dots ~/.dots
# Change directory to .dots
cd ~/.dots
# Make sure scripts are executable
chmod +x ./install.sh ./link.sh bin/*
# Begin the installation.
./install.sh# w/curl:
sh -c “`curl -fsSL https://github.com/egeesin/dots/raw/master/tux/setup-nix.sh`”
# w/wget:
sh -c “`wget -O - --no-check-certificate https://github.com/egeesin/dots/raw/master/install-remotely.sh`”All Windows related configurations and installation scripts are isolated in win/ directory.
Scripts hasn't tested yet, relevant updates and more detailed installation steps will be added in this section.
Further necessary information included in win/README.md.
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/egeesin/dots/main/install.ps1')- Complete setting computer name, privacy/cloud settings etc. in the first startup if you haven't already.
- Right click on Windows icon in the taskbar at the bottom.
- In the context menu, select "Windows PowerShell (Admin)"
- If that menu item doesn't exist, select "Terminal (Admin)" instead.
- After selection, if User Account Control window pops up, confirm that you want to allow this app to make changes to your device by clicking "Yes".
- Execute command below:
Set-ExecutionPolicy Bypass -Scope Process -Force; .\install.ps1
I highly recommend to backup your machine, creating a system restore point before executing whole initial setup process in an administrative level.
nix-shell -p git curl
sh -c “`curl -fsSL https://github.com/egeesin/dots/raw/master/tux/setup-nix.sh`”For manual steps, go ahead to ZaneyOS README as its setup shell based on it.
Tested on macOS and Arch Linux only.
dots <command>
Commands:
help This help message
edit Open dots in editor
reload Reload shell configuration
link Relink configurations
test Run tests
up Update packages and pkg managers (npm, pip, macOS, brew, gem, pacman, pacaur)
clean Clean up caches (brew, npm, gem, rvm)
defaults Apply macOS system defaults
dock Apply macOS dock placements
install Install packages listed from the dots/install (e.g. dots install npm)
In order to make auto dark feature work in Alacritty and Vim for macOS, do the
following…
Note: Find your <user_id> from id -u
touch /tmp/dark-mode-notify-{stderr,stdout}.log
cp .extra/backup/com.egeesin.dark-mode-notify.plist ~/Library/LaunchAgents/
launchctl bootstrap gui/<user_id> ~/Library/LaunchAgents/com.egeesin.dark-mode-notify.plist
launchctl kickstart gui/<user_id>/com.egeesin.dark-mode-notify
- Standalone setup scripts
- Lighter and re-usable installation options suitable for development on remote servers and Windows.
- More Windows related configurations and complex scripts
- "Features" and "Preview" section in README
- install.sh, remote-install.sh, command line tool, mackup, directory structure, etc. - webpro.
- Symlinking system - olzraiti
- macOS defaults - mathiasbynens
- i3, mpd and ncmpcpp configs - mohabaks
- Tmux config - gpakosz
- Win 10 / Server 2016 / Server 2019 Initial Setup Script by Disassembler
- Install Script for Windows by xeho91
- Function and alias definitions by jayharris
- Symlinking in Windows by SARDONYX-sard
- NixOS Setup by Tyler Kelley
