nixpkgs/doc/configuration.txt
Armijn Hemel a05f476c39 add a doc directory, with some documentation in it
svn path=/nixu/trunk/; revision=5006
2006-03-08 19:14:12 +00:00

25 lines
1.1 KiB
Text

Configuration in NixOS
Configuration in NixOS is not very straightforward. On other Linux
distribution site-specific information (password files, host files, and
so on) are stored with information that is rather generic for a lot of
operating systems. To be able to handle these in a gentle way I have decided
to seperate these two a bit more in NixOS.
In particular, in the /etc directory there is a Nix profile called "configs".
In this profile the generic configuration is kept. In time this can grow
to keep configuration which is site specific, but which can easily be kept
in the store, such as "profile" (default system wide Bourne shell profile)
Right now two packages should be in this profile:
* etcServices : installs a file called "services" (/etc/services should
point to this)
* etcProtocols : installs a file called "protocols" (/etc/protocols should
point to this)
During install time these packages should be installed and the right symlinks
should be made.
When NIX-40 is closed, we might consider making /etc itself a profile and
keep even more configuration information inside the Nix store.