- Install git and clone nix-home repo:
nix-env -iA git
git clone https://github.com/pedrodotmc/nix-home.git
-
Copy this configuration.nix file over generated by nix.
-
Follow NixOS installation steps.
-
Set a password for
pedrodotmc
user:
passwd pedrodotmc
- Reboot.
- Generate a new GPG Key for signing commits:
gpg --full-generate-key
- Generate a new SSH key pair (or import an existing one) and configure it in GitHub:
ssh-keygen -t ecdsa -b 521 -C "pedrodotmc@gmail.com"
- Clone repo in your folder with SSH:
git clone git@github.com:pedrodotmc/nix-home.git
-
Update
nixHomeRepo
variable in home.nix file. -
Run
apply.sh
script:
./apply.sh
- Uncrypt locked files running:
git-crypt unlock <KEY_FILE>