Dotfiles files for my personal computer.
Install Nix package manager:
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
Clone repo and go to the directory:
git clone https://github.com/phrmendes/dotfiles
cd dotfiles
Install nix-darwin:
nix run nix-darwin -- switch --flake .#darwin
Clone repo and go to the directory:
git clone https://github.com/phrmendes/dotfiles
cd dotfiles
Disk partitioning:
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko -- --mode disko ./hosts/desktop/disko.nix --arg device '"/dev/sdX"'
Install NixOS:
sudo nixos-install --flake .#desktop --root /mnt --no-root-passwd