Comment

Comment by pveierland

Good point! Additional wizard-style UIs will make sense for certain use-cases, such as e.g. "adding a new user", or "creating a Python environment". Another strategy is to keep making re-use and composition easier, as this is a great way of learning. By seeing what is necessary to set up a Docker image, simply copying the necessary settings and then tweaking the config to add your services should allow learning through trial and error.

Composition is already possible, where you can import modules between flakes, such that you can keep e.g. the Docker base config in one flake, then re-use this in other flakes. Soon, indexing of modules will also be added to the site, which will make it easy to import e.g. a base computer configuration from `nixos-hardware`: https://mynixos.com/nixos-hardware

Some other features which will be added is cloning of flakes, and easily copying + moving sets of settings between modules and flakes. This should also make it easier to borrow settings from other configurations to build your own.

parent pveierland 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton