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

flake-parts: Add to config #34

Open
8 tasks
Lehmanator opened this issue Feb 5, 2024 · 0 comments
Open
8 tasks

flake-parts: Add to config #34

Lehmanator opened this issue Feb 5, 2024 · 0 comments
Assignees

Comments

@Lehmanator
Copy link
Owner

Quick-n-dirty method:

  1. Wrap flake.nix current outputs attr with flake-parts.lib.mkFlake
  2. Move current flake outputs attrs inside flake attr of mkFlake arg attrset.
  3. De-systematize various attrs of prior outputs one-by-one.

Use flakeModules:

  • inputs.devshells.flakeModule (numtide/devshells)
  • inputs.agenix-shell.flakeModule
  • inputs.treefmt-nix.flakeModule
  • inputs.precommit-nix.flakeModule
  • inputs.hercules-ci.flakeModule

To-Dos:

  • Migrate GITHUB_TOKEN from per-host sops-nix to agenix-shell
  • Create devShells.nix for Nix-based repos.
  • Create devShells.nixos for NixOS config repos.
@Lehmanator Lehmanator self-assigned this Feb 5, 2024
@Lehmanator Lehmanator changed the title Use flake-parts flake-parts: Add to config Feb 7, 2024
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

No branches or pull requests

1 participant