See my last commit.

Now you can define a set of repositories for each repo in nixos
nixpkgs and services:

    installer = {
      repos = {
        nixpkgs  = [ { type = "svn"; }
                     { type = "git";
                       initialize = ''git clone git://mawercer.de/nixpkgs 
$target'';i
                       update = "git pull origin";
                       target = "/etc/nixos/nixpkgs-git";
                       default = true; 
                     } ];
        nixos    = ... 
        services    = ... 
      };
    };

The first repo is used when you run nixos-rebuild unless you add an
attribute default = true;

Instead of the default svn setting { type = "svn"; } you can set url and
target as well to get branch updates

If something is still unlcear let me know.

Sincerly
Marc Weber
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to