quatquatt / nixos

My NixOS config with home-manager, flakes, and readable code
1 stars 0 forks source link

Do things for fresh install automatically #8

Open quatquatt opened 1 month ago

quatquatt commented 1 month 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

quatquatt commented 1 month ago

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

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

quatquatt commented 3 weeks 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