WIP
NOTE: All keybinding of this config is set for Dvorak keyboard layout.
Install nix:
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
Clone this repo:
git clone https://github.com/mrunhap/dotfiles.git ~/.setup
Or:
nix run nixpkgs#git clone https://github.com/mrunhap/dotfiles.git ~/.setup
Install:
nixos-install --flake .#<host>
Rebuild:
sudo nixos-rebuild switch --flake .#<host>
Type git
to ensure you have xcode developer tools installed.
Install nix:
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
Install homebrew
:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
For Apple Sillison Macs, install Rosetta
:
softwareupdate --install-rosetta --agree-to-license
For the first time:
nix build .#darwinConfigurations.<host>.system
./result/sw/bin/darwin-rebuild switch --flake .#<host>
Then use darwin-rebuild
to rebuild and activate:
darwin-rebuild switch --flake .#<host>
For first time:
nix build .#homeConfigurations.<host>.activationPackage
./result/activate
Then use home-manager
to rebuild and activate:
home-manager switch --flake .#<host>
Uncomment Color
in /etc/pacman.conf
.
sudo pacman -S fwupd sof-firmware
Delete system-*
in /nix/var/nix/profiles
and rebuild the system.