NixOS bootstrapper that sets up my development environment on top of dwm-enhanced.
-
Replace the placeholder
nixos/hosts/nimda/hardware-configuration.nixwith the actualhardware-configuration.nixof the system. -
Adjust host/user details in
nixos/hosts/nimda/configuration.nixandnixos/home/default.nix. -
(optional) Review the patches in
nixos/patchesand modify or remove any you don't need (if you remove any, you may need to update dwmblocksPatch innixos/modules/packages.nix). -
Run:
# The default hostname is "nimda".
sudo nixos-rebuild switch --flake .#${hostname}
To access development environment shells (like lkdev) from anywhere
on your system add this flake to your local registry.
- Register nixconf:
nix registry add nixconf $path_to_nixconf
- Launch a shell (run from any directory):
nix develop nixconf#$shell_name