l repo-sync: add public ssh access

This commit is contained in:
lassulus 2017-12-05 15:15:21 +01:00
parent 3a38f5b6ea
commit 704096c93e

View File

@ -22,7 +22,8 @@ let
});
};
in {
rules = with git; singleton {
rules = with git; [
{
user = with config.krebs.users; [
config.krebs.users."${config.networking.hostName}-repo-sync"
lass
@ -30,7 +31,13 @@ let
];
repo = [ repo ];
perm = push ''refs/*'' [ non-fast-forward create delete merge ];
};
}
{
user = attrValues config.krebs.users;
repo = [ repo ];
perm = fetch;
}
];
repos."${name}" = repo;
};