Example Dendritic Nix setup implemented without flakes nor flake-parts. dendrix.oeiuwq.com/Dendritic.html#no-dependencies
nix unflake dendritic
at froyo 22 lines 526 B view raw
1{ inputs, config, ... }: 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 config.modules.nixos; [ 15 statics 16 no-boot 17 ]; 18 19 outputs.nixosConfigurations.my-laptop = import "${inputs.nixpkgs}/nixos/lib/eval-config.nix" { 20 modules = [ config.modules.nixos.my-laptop ]; 21 }; 22}