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

Migrate to Nix Flakes #20

Open
diamondburned opened this issue Mar 8, 2024 · 0 comments · May be fixed by #21
Open

Migrate to Nix Flakes #20

diamondburned opened this issue Mar 8, 2024 · 0 comments · May be fixed by #21

Comments

@diamondburned
Copy link
Member

Migrating to Flakes gives us a few nice benefits:

  • Inputs are actually sane: no more <acm-aws> and $NIX_PATH hack.
  • Better caching via GitHub Actions using the more efficient magic-nix-cache-action
  • Ability to use the easier unstable nix CLI

Plan:

  • Decouple Nixpkgs from Niv and into a Flake.
  • Migrate default.nix and shell.nix into flake.nix
    • shell.nix becomes #.devShells.<arch>.default
    • default.nix gets combined with #, since it already contains packages and nixosConfigurations
  • Migrate Terraform files to use the Flake file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant