From a05f476c39c452ff9e945a6f1f818267d0d4f6c6 Mon Sep 17 00:00:00 2001 From: Armijn Hemel Date: Wed, 8 Mar 2006 19:14:12 +0000 Subject: [PATCH] add a doc directory, with some documentation in it svn path=/nixu/trunk/; revision=5006 --- doc/configuration.txt | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 doc/configuration.txt diff --git a/doc/configuration.txt b/doc/configuration.txt new file mode 100644 index 000000000000..2275c6e4281a --- /dev/null +++ b/doc/configuration.txt @@ -0,0 +1,25 @@ +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.