also being able to clone your identical setup on new machines is so nice

Reply to this note

Please Login to reply.

Discussion

That is the lure .. but if you count .. haw many tools and their configs you really need !

And then every machine needs bit of a differentiation ..

I ended up maintaing three different config files for three machines I was using! Cuz one is 32 but , other is 64 bit without GUI and third is a modern machine ..

And you need different configurations if you want to install on Apple machines ..

Or else ..config becomes a project in itself :-)

I use a layered config for this. I have a “is_desktop = true” flag that turns on x11 and all the desktop tools i use. I share the same config on my servers, laptop, and desktop, with this flag turned on or off. Also per machine configs if further customization is needed

This effectively allows me to clone my exact system to any machine: server, laptop or desktop. Damus servers all use my personal nixos config, same one i’m using on my laptop right now. They all have the same software and tools

This sounds like magic!

Exactly.. X and Wayland also need separate configs. .

It is great if it works for you .. I am not a hater .. I am just saying , for Linux enthusiasts ..it is just too much .. pros can do whatever they like .

its like a one line change in your nixos config

I know .. but a change it is still .. besides it gets lot more than one line cuz with Wayland you would also want Sway - the windows manager ..

Oh that's cool. How does it work, like a RAID5 thing?