Steps to replicate the system configuration starting from a fresh NixOS installation:
- install git:
sudo nano /etc/nixos/configuration.nix=>sudo nixos-rebuild switch - clone repository:
cd ~ ; git clone https://github.com/siphc/nixos-configuration.git(note that you won't have ssh by this stage!) - download source code of required packages (dwm, st, slstatus) and copy configuration files over
- change
users.users.*and"nixos-config=*innix.nixPathto your own username, of course. nixos-rebuild switch -I nixos-config=/home/[USER]/nixos-configuration/configuration.nix- ensure screenshot scripts function properly:
cd ~ ; mkdir Pictures && mkdir Pictures/Screenshots - fix PATH by symlinking to
./binfrom~/.local/bin - reboot.