These instructions will allow a replication of my NixOS setup. It is not exhaustive, but it should get you pretty close!
dots/
: Contains current dotfilesnixos/
: Contains NixOS configuration filesconfiguration.nix
: My NixOS system configuration.hardware-configuration.nix
: My NixOS hardware configuration.
overlays/
: Contains custom build overlays for suckless utilities.scripts/
: Contains some utility scriptswallpapers/
: Contains wallpapers, modified to match the components of my OS
Start by cloning this repository to your local machine using the git clone
command.
git clone https://github.com/chambored/nixos-config.git
Copy both configuration.nix
and hardware-configuration.nix
to /etc/nixos/
:
sudo cp path/to/configuration.nix /etc/nixos/
sudo cp path/to/hardware-configuration.nix /etc/nixos/
Update the paths in the configuration.nix
file to reflect the location of the cloned overlays.
The custom dmenu requires the dmenu_custom.sh
script. Make sure to set this script as executable:
chmod +x path/to/dmenu_custom.sh
When you want a program to appear in the custom dmenu list, update the programs.txt
with the name of the package.
Copy the content of the dots
directory into your home directory:
cp -r dots/* ~/
A lot of file paths in scripts, shebangs, and config files reflect my organization. Using these files would require changing those file paths to reflect your own.