pinwheel: Read rv's teams from a secret
rv watches a second team now. Both are listed in the work-rv-teams secret and read through rv's teamsFile, so the work module does not name the organisation.
This commit is contained in:
1 parent
fabe57023d
commit
045e8e292a
3 files changed
+8
-1
No files matched your search
@@ -120,7 +120,7 @@ EOF
|
||||
enable = true;
|
||||
settings = {
|
||||
tokenFile = config.age.secrets.work-github-token.path;
|
||||
teams = [ "work-org/content" ];
|
||||
teamsFile = config.age.secrets.work-rv-teams.path;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -198,6 +198,12 @@ EOF
|
||||
group = "users";
|
||||
};
|
||||
|
||||
"work-rv-teams" = lib.mkIf gitEnabled {
|
||||
file = ../../../../secrets/pinwheel/work-rv-teams.age;
|
||||
owner = "alex";
|
||||
group = "users";
|
||||
};
|
||||
|
||||
"work-go-private" = lib.mkIf goEnabled {
|
||||
file = ../../../../secrets/pinwheel/work-go-private.age;
|
||||
owner = "alex";
|
||||
|
||||
Reference in new issue
Block a user