mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 20:49:52 +03:00
add a doc directory, with some documentation in it
svn path=/nixu/trunk/; revision=5006
This commit is contained in:
parent
89df039e35
commit
a05f476c39
25
doc/configuration.txt
Normal file
25
doc/configuration.txt
Normal file
@ -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.
|
Loading…
Reference in New Issue
Block a user