Example Dendritic Nix setup implemented without flakes nor flake-parts.
dendrix.oeiuwq.com/Dendritic.html#no-dependencies
nix
unflake
dendritic
1{ lib, self, ... }:
2{
3 modules.nixos.no-boot = {
4 boot.loader.grub.enable = false;
5 fileSystems."/".device = "/dev/no-device";
6 };
7
8 modules.nixos.statics = {
9 system.stateVersion = "25.11";
10 nixpkgs.hostPlatform = "x86_64-linux";
11 passthru = { };
12 };
13
14 modules.nixos.my-laptop.imports = with self.modules.nixos; [
15 statics
16 no-boot
17 ];
18
19 nixosConfigurations.my-laptop = lib.nixosSystem {
20 modules = [ self.modules.nixos.my-laptop ];
21 };
22}