llakala / nixos

My NixOS config
3 stars 1 forks source link

Do things for fresh install automatically #8

Open llakala opened 3 months ago

llakala commented 3 months ago

Several things should be done automatically when installing to a new system. These include:

A shell script seems like the most approachable way to do this, but people smarter than me recommend

llakala commented 2 months ago

For cloning the repo on a new system, use this:

nix run nixpkgs#git clone git@github.com:quatquatt/nixos.git

llakala commented 1 month ago

Alternative solutions for doing this include:

This only leaves chowning, which could be done by moving my config from /etc/nixos to .config, or just putting that as an activationScript, which seems nice and small in scope