feat: add noctalia idleEnabled toggle and C/Haskell templates#13
feat: add noctalia idleEnabled toggle and C/Haskell templates#13consoleBeep wants to merge 2 commits into
Conversation
Exposes idle.enabled as a wrapper-module option (default true, preserves current behavior) so it can be flipped without editing the wrapper. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Adds nix flake templates for C (stdenv.mkDerivation + Makefile, gcc/clang toolchain devShell) and Haskell (callCabal2nix + cabal-install/HLS devShell). C# remains pending — buildDotnetModule needs a generated deps.json which can't be produced ahead of project content. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
BastianAsmussen
left a comment
There was a problem hiding this comment.
Nah, absolutely not. You clearly didn't look at a single existing template before writing new ones.
Every template README opens with This project is built using [Nix](https://nixos.org)., has a ## Usage section with named subsections and sh code blocks. Yours introduce ## Intended Usage, a section that exists nowhere in this repository, and bullet lists where there should be code blocks. Match the pattern.
The welcomeText for c and haskell uses ## Getting Started when go and python use ## Notes, and the bullets about nix develop and building are pure noise. Anyone who runs nix flake init knows what nix develop does. The rename reminder is the only thing worth keeping. _rust and _python don't have a description in the flake, _go does, and now you've added two more without picking a side.
On noctalia: the whole point of the TODO was to stop epsilon from bugging out when monitors wake. You've added a toggle and left it at true everywhere, which means epsilon is completely untouched by this PR.
And still no hash. You're an AI, you can spin up any environment you want, and you ran this through Docker like some kind of tourist. curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install, nix flake check --all-systems, show me a store path.
It is not that hard.
Summary
Addresses two of the three open items in
TODO.md:idle.enabledas anidleEnabledoption on thenoctalia-shellwrapper module (defaulttrue, preserves current behavior). One knob, no per-host wiring yet — the wrapper still builds a single shared package viapackages.noctalia-shell, so flipping this is global. Per-host (epsilon-only) requires either package variants or a runtime toggle; happy to follow up once you've picked an approach._rust/_go/_pythonstyle:stdenv.mkDerivation+ Makefile, devShell withgcc gnumake gdb clang-tools valgrind.haskellPackages.callCabal2nix+ minimal.cabalandMain.hs, devShell withcabal-install haskell-language-server ghcid.Not in this PR
opts.undofile = trueis already set (line 69 of_nixvim-config.nix) and.local/state/nvimis already in epsilon's persistence list (line 206). The setup looks correct as-is. Need your exact symptom (does~/.local/state/nvim/undo/exist after a session? does `:set undofile?` show on?) before any change is defensible.Verification
Alternatives considered
🤖 Generated with Claude Code