Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support attic? #60

Open
KiaraGrouwstra opened this issue Jun 25, 2024 · 2 comments
Open

support attic? #60

KiaraGrouwstra opened this issue Jun 25, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request lib Typhon's Nix library

Comments

@KiaraGrouwstra
Copy link

in addition to cachix, it would be cool to see typhon support attic, a 'Multi-tenant Nix Binary Cache' (Apache 2). its usage is explained in more detail here.

@pnmadelaine pnmadelaine self-assigned this Jun 25, 2024
@pnmadelaine pnmadelaine added enhancement New feature or request lib Typhon's Nix library labels Jun 25, 2024
@pnmadelaine
Copy link
Member

I hadn't heard about attic! Seems very cool, and it should be straightforward to support :)

@itslychee
Copy link

hey if you wanna test my pr the API is very similar to cachix (as I mostly copied from it lol)

       deploy = [{
            name = "Push to Attic";
            value = typhon.lib.attic.mkPush {
              endpoint = "attic url";
              cache = "attic cache";
            };
          }
      ...
      ];

and add attic_token to your secrets.age. The script itself seems to work OK but as I'm new to typhon and I'm not having the best luck with setting up jobs because im not sure how to find the evaluation errors, so I'm kinda stuck on testing it out in a production type setting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request lib Typhon's Nix library
Projects
None yet
Development

No branches or pull requests

3 participants