My /etc/nixos configuration files.
Steps for setting up prior to nixos installation (assuming root user).
cd /etc
# backup existing nixos
[[ -d nixos ]] && mv nixos nixos.bak
# clone this project
git clone [email protected]:djfroofy/nix-configuration.git nixos
Choose or create a local configuration file that works best for your current machine:
# create symlink to local configuration (drewripper is my setup for home desktop)
ln -s local-configuration\#\#drewripper.nix local-configuration.nix
From the current directory run:
./setup
This will create stubs for personal and work dropins.
cp users-example.nix users.nix
# edit to your preferred users
$EDITOR users.nix