llakala / nixos

My NixOS config
GNU General Public License v3.0
8 stars 1 forks source link

Do things for fresh install automatically #8

Open llakala opened 4 months ago

llakala commented 4 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 4 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 3 months 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