Skip to content

phrmendes/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

Dotfiles files for my personal computer.

Darwin

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

Desktop

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