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:
Alexander Heldt committed 2026-11-25 17:25:32 +01:00
1 parent fabe57023d
commit 045e8e292a
3 files changed
+8 -1

No files matched your search

+7 -1
View File
@@ -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";
Binary file not shown.
+1
View File
@@ -23,6 +23,7 @@ in {
"pinwheel/alex.pinwheel-git.ppp.pm.pub.age".publicKeys = [ pinwheel alex ];
"pinwheel/work-gitconfig.age".publicKeys = [ pinwheel alex ];
"pinwheel/work-github-token.age".publicKeys = [ pinwheel alex ];
"pinwheel/work-rv-teams.age".publicKeys = [ pinwheel alex ];
"pinwheel/work-go-private.age".publicKeys = [ pinwheel alex ];
"pinwheel/work-staging-ovpn.age".publicKeys = [ pinwheel alex ];
"pinwheel/work-production-ovpn.age".publicKeys = [ pinwheel alex ];