diff --git a/hosts/pinwheel/modules/work/default.nix b/hosts/pinwheel/modules/work/default.nix index a57c770..40fef2d 100644 --- a/hosts/pinwheel/modules/work/default.nix +++ b/hosts/pinwheel/modules/work/default.nix @@ -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"; diff --git a/secrets/pinwheel/work-rv-teams.age b/secrets/pinwheel/work-rv-teams.age new file mode 100644 index 0000000..1c4aab6 Binary files /dev/null and b/secrets/pinwheel/work-rv-teams.age differ diff --git a/secrets/secrets.nix b/secrets/secrets.nix index 00c0a5f..2945c04 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -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 ];