frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

NixOS example config using the dendritic pattern with flake-parts and hjem

https://github.com/eduardofuncao/nali
1•xGoivo•1h ago

Comments

xGoivo•1h ago
I've been rewriting my NixOS config (for the fourth time ;) ) and wanted to share the result as a reference for other people thinking about diving into the dendritic pattern.

The dendritic pattern organizes your NixOS config as a collection of self-contained top-level modules: each module declares its own flake inputs, packages, and configuration option; and can be accessed from anywhere in the config (avoiding ../../../ imports).

Here's an example of a simple module that set's up my kitty config:

```````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````

{ flake.nixosModules.tmux = {pkgs, ...}: {

    programs.tmux = {
      enable = true;
      terminal = "tmux-256color";
      baseIndex = 1;
    };

    hjem.users.eduardo = {
      files = {
        ".config/tmux/tmux.conf".source = ./tmux.conf;
        ".config/tmux/altux.conf".source = ./altux.conf;
      };
    };

  };
}

```````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````

From the module, I enable tmux with some custom options, and the configuration files with hjem to be available at ~/.config/tmux/. Using hjem instead of home manager can be great, especially if you don't need to use all home manager features (that come with their complexities), and if you want to keep using the native configuration language for your packages. This module can be used from any of my machines or servers that use Nix or Nixos, and would setup tmux the same way in any of them!

The two resources that helped me most were doc-steve's guide on the dendritic pattern and filip-ruman's practical tips, both linked in the README.

Happy to answer questions about the setup, especially around flake-file and hjem which are less documented than the usual home-manager approach.

Show HN: AI connects your health data after a supplement nearly killed me racing

https://vitalityaihealth.com
1•Kevin_VAI•2m ago•0 comments

Muster – Multi-agent product team for Claude Code, built on <.md> files

https://github.com/sandhuka/muster-ai
1•kanwarsandhu•5m ago•0 comments

Elon Musk's xAI Sued by NAACP over Memphis Data Center

https://www.wsj.com/tech/elon-musks-xai-sued-by-naacp-over-memphis-data-center-5c4e793d
1•fortran77•8m ago•1 comments

Large or bright satellite constellations: Effects on observations

https://arxiv.org/abs/2604.09427
1•CharlesW•10m ago•0 comments

Show HN: Terminal-Wrench, a dataset of 331 realistic hackable environments

https://github.com/few-sh/terminal-wrench
3•neversupervised•14m ago•0 comments

Nvidia should be 'shaking in their boots' as quantum computing battles AI GPUs

https://finance.yahoo.com/news/d-wave-ceo-says-nvidia-should-be-shaking-in-their-boots-as-quantum...
2•mgh2•15m ago•1 comments

Authorization for LLM Tool Schemas: Formal Model with Noninterference Guarantees [pdf]

https://raw.githubusercontent.com/AndyGauge/andygauge.github.io/master/publication/noninterferenc...
1•andygauge•15m ago•0 comments

Speech-Driven Spatial Externalization for Co-Located Collaboration in AR

https://arxiv.org/abs/2603.20199
1•PaulHoule•27m ago•0 comments

Now Available: WireGuard, Wi‑Fi Direct, OpenRISC, and More

https://www.zephyrproject.org/zephyr-rtos-4-4-now-available-wireguard-wi-fi-direct-openrisc-and-m...
1•rettichschnidi•31m ago•1 comments

Building a Tax Document Assistant with the Ragie Skill

https://www.ragie.ai/blog/building-a-tax-document-assistant-with-the-ragie-skill
1•bobremeika•31m ago•0 comments

The Infrastructure Nobody's Building for the Agent Economy

https://vibeagentmaking.com/blog/the-infrastructure-nobodys-building-for-the-agent-economy/
1•vibeagentmaking•33m ago•0 comments

SDL3 Port to DOS

https://bsky.app/profile/dosnostalgic.bsky.social/post/3mjfdos7iok2o
1•birdculture•33m ago•0 comments

Mark Zuckerberg reportedly working on AI clone of himself

https://www.tomshardware.com/tech-industry/artificial-intelligence/mark-zuckerberg-reportedly-wor...
4•pseudolus•34m ago•2 comments

The Biggest Advance in AI Since the LLM

https://cacm.acm.org/blogcacm/the-biggest-advance-in-ai-since-the-llm/
2•pseudolus•35m ago•0 comments

Don't feel like exercising? Maybe it's the wrong time of day for you

https://www.bbc.com/news/articles/cd6lzpxwx50o
2•tagawa•36m ago•0 comments

A new wave of immunotherapy is eliminating cancers

https://www.bbc.com/future/article/20260410-how-a-new-wave-of-immunotherapy-is-eliminating-cancers
4•blondie9x•36m ago•0 comments

The Last Lights of Chernobyl's Skala Computer – Computer Recreation

https://www.youtube.com/watch?v=8_azCaCShy8
1•nar001•39m ago•1 comments

CRISPR takes a bold leap toward silencing Down syndrome's extra chromosome

https://medicalxpress.com/news/2026-04-crispr-bold-silencing-syndrome-extra.html
3•pseudolus•40m ago•0 comments

AWS announces general availability of AWS Interconnect – multicloud

https://aws.amazon.com/about-aws/whats-new/2026/04/aws-announces-ga-AWS-interconnect-multicloud/
2•dabinat•42m ago•0 comments

1B payments per day ft TigerBeetle, Postgres

https://backend.how/posts/1b-payments-per-day/
3•pg_2023•46m ago•0 comments

Best AI Product Adoption Software in 2026

https://medium.com/@christian_74997/best-product-adoption-software-in-2026-10-tools-compared-3959...
1•pancomplex•48m ago•0 comments

Europe Is Accelerating a NATO Fallback Plan in Case Trump Pulls Out

https://www.wsj.com/world/europe/europe-nato-trump-plans-3a423233
6•impish9208•50m ago•1 comments

S.A.F.E.: RFC-style intent checks for privileged AI automation

https://zenodo.org/records/19161806
1•rogelsjcorral•52m ago•0 comments

Operating Systems: Three Easy Pieces

https://pages.cs.wisc.edu/~remzi/OSTEP/
1•solfleur•54m ago•0 comments

Ask HN: My ISP is telling my neighbors their slow internet is because of me

2•_z369•57m ago•16 comments

43% of AI-generated code changes need debugging in production, survey finds

https://venturebeat.com/technology/43-of-ai-generated-code-changes-need-debugging-in-production-s...
4•jjtang1•59m ago•2 comments

One Developer, Two Dozen Agents, Zero Alignment

https://maggieappleton.com/zero-alignment
2•facundo_olano•1h ago•0 comments

Show HN: Financial Web Tools – decision-focused calculators

https://financialwebtools.com/
1•Rohinator•1h ago•0 comments

Users lose $9.5M to fake Ledger wallet app on the Apple App Store

https://www.web3isgoinggreat.com/?id=fake-ledger-app
2•Philadelphia•1h ago•0 comments

Ask HN: At ~165k tokens, does Opus 4.6 1M outperform Opus 4.6 200k?

1•consumer451•1h ago•0 comments