Re:What's your go to Nix/NixOS pitch?
by Aerbil313 on Saturday August 12, 2023 @04:03PM
(#37103740)
(Not OP) cp to copy the /etc/nixos/configuration.nix file, and nixos-rebuild to build the system defined in the file on the new machine.
[ Parent
| on HN ]
Or if you're sharing configuration, it's most likely a "git pull" rather than "cp".
Yes, to be specific it's a git clone and a command to apply the flake.
Re:What's your go to Nix/NixOS pitch?
by yjftsjthsd-h on Saturday August 12, 2023 @06:26PM
(#37104773)
If you're using a flake, can't you apply itfrom git in a single command?