[Nix-dev] policy based profiles

Armijn Hemel armijn at uulug.nl
Mon Jan 23 15:26:16 CET 2006


hi,

after reading another part of Eelco's thesis about the user environments
I was thinking if it would be possible to have some sort of generic way
to define policies. Right now it's pretty much unmanaged, at least, it's
not easy for me to make for example a collection of udev rules. I need
custom scripts for that, and I just want to be able to do something like

nix-env -i sane --policy=linux-udev

where it would add sane to an environment and recreate /etc/udev for me.

I can imagine some sort of XML format:

<policy>
  <action name="add">
     <files>udev/*.fdi</files>
  </action>
</policy>

Or whatever...

armijn

-- 
 ---------------------------------------------------------------------------
  armijn at uulug.nl | http://www.uulug.nl/ | UULug: Utrecht Linux Users Group
 ---------------------------------------------------------------------------



More information about the nix-dev mailing list