[Nix-dev] Suggestion: Home configuration.

Nicolas Pierron nicolas.b.pierron at gmail.com
Wed Jun 18 20:55:00 CEST 2008


Hi list,

I have experimented many issues that may require a kind of $HOME
configuration.  Many package provide a /etc which contains a default
resource script which is often used as a base for the system.  As Nix
packages are pure, the system configuration is not changed unless this
packages are installed with the system (I guess).  Therefore if any
user install a tool which require a minimal configuration the tool
will not work properly.

Packages can provide a script that will be used to configure the $HOME
directory of the current user if no configuration files exists yet.
This can be used to create a nice default configurations which can be
generated and updated with the corresponding package.

With this feature, I think we can expect to move upstart &
configuration script inside nixpkgs instead of nixos.

Stupid question: can any user install and configure the following
servers in user land: apache, sshd, subversion, xserver, etc ..?

I was thinking about that after running "wmii" which was not able to
act on any event (which is quite bad for a windows manager) because
the default configuration was not available.

-- 
Nicolas Pierron
- If you are doing something twice then you should try to do it once.
- Do not print documents, save your printer ;)



More information about the nix-dev mailing list