Repository navigation
Converge on the org flake standard - #4
Merged
Merged
Conversation
- Inputs: org-pkgs; nixpkgs (was nixos-26.05), flake-parts and import-tree follow it. mkdocs-flake and reveal-js stay at the root: the exports need them. - Dev partition with its own inputs (dev/flake.nix, dev/flake.lock: dev-nixpkgs, treefmt-nix) importing org-pkgs flakeModules.dev: checks.treefmt replaces the lint check and pkgs.alejandra formatter; adds lock-sync and sync-locks. This repo's docs and deck move into the partition (documentation/flake-module.nix imports self.flakeModules.default), exposed as legacyPackages so `nix build .#documentation` still works. - Drop the flake devShell; devenv CLI shell (org-pkgs/devenv). - slides/ moves to documentation/slides; mkdocs.yml gets the org settings (dev_addr 8981, use_directory_urls false, offline). - systems: x86_64-linux and aarch64-linux. debug = true and .vscode nixd settings. AGENTS.md; README and docs updated. lib, flakeModules and templates are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01E5NrkgRkUQCo4RecQu5LUr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Andrew · project thread
Brings presenting to the org flake standard (nix-style skill, pkgs template).
Changes
org-pkgs;nixpkgs(was its ownnixos-26.05pin),flake-parts,import-treefollow it.mkdocs-flakeandreveal-jsstay at the root because the exports need them (mkdocs-flake's follows now nested, per the nesting rule).dev/flake.nix+dev/flake.lock(dev-nixpkgs, treefmt-nix; nopresentinginput, the repo uses its own module).dev/flake-module.niximportsorg-pkgs.flakeModules.dev:checks.treefmtreplaces thelintcheck andformatter = pkgs.alejandra; addslock-syncandapps.sync-locks.documentation/flake-module.niximportsself.flakeModules.default(still eats its own cooking).packages.documentation/slidesbecomelegacyPackagesin dev, sonix build .#documentationand the Pages workflow keep working.slides/→documentation/slides/;mkdocs.ymlgets the org settings (dev_addr 8981,use_directory_urls: false,offline), and the presentation page's iframe path follows.flake-parts/default.nixandchecks.nixremoved (their content moved above);flake-parts/template.nixstays.devShellsdropped; devenv CLI shell (devenv.yamlimportsorg-pkgs/devenv, pinned with the lock).systems: x86_64-linux and aarch64-linux.debug = trueand.vscode/nixd settings.AGENTS.md; README and docs pages updated (layout, commands, ports).Consumers
lib(mkSlides),flakeModules(default,slides) andtemplates.defaultare unchanged (compared on both trees). A scratch consumer flake importingflakeModules.defaultbuilds docs with the embedded deck. The consumer README snippet (nixpkgs/flake-partsfollows) still applies. Consumers' dev locks will gain presenting'sorg-pkgsnode on their nextnix flake update presenting.Main lock
Added: org-pkgs (+ its nixpkgs, flake-parts, import-tree). treefmt-nix lives only in
dev/flake.lock.Verification
nix fmt: 0 changes.nix flake check: exit 0, checksdocumentation lock-sync slides treefmt.nix build .#documentationproduces the site withslides/.dev/flake.lockwas assembled from the same locked revs as the other org dev locks andnix flake lock ./devaccepts it unchanged.devenv shellnot runnable here.Generated by Claude Code