diff --git a/Droidnix/README.org b/Droidnix/README.org index 1540da101..3b2daf9ea 100644 --- a/Droidnix/README.org +++ b/Droidnix/README.org @@ -364,52 +364,30 @@ in ** =generated/hosts/traveldroid/boot.nix= #+BEGIN_SRC nix :tangle generated/hosts/traveldroid/boot.nix :noweb tangle :mkdirp yes :eval never-html -{ inputs, ... }: +error: + … while calling the 'seq' builtin + at /nix/store/cncbwybi5fswwjkg9c76cgwm0bh6wsr9-source/lib/modules.nix:402:18: + 401| options = checked options; + 402| config = checked (removeAttrs config [ "_module" ]); + | ^ + 403| _module = checked (config._module); -let - # Import all reusable modules from ./generated/modules - modulesFromTree = builtins.attrValues (inputs.import-tree ./generated/modules); -in -inputs.nixpkgs.lib.nixosSystem { - system = "x86_64-linux"; + … while evaluating a branch condition + at /nix/store/cncbwybi5fswwjkg9c76cgwm0bh6wsr9-source/lib/modules.nix:305:9: + 304| checkUnmatched = + 305| if config._module.check && config._module.freeformType == null && merged.unmatchedDefns != [ ] then + | ^ + 306| let - specialArgs = { inherit inputs; }; + (stack trace truncated; use '--show-trace' to show the full, detailed trace) - modules = [ - inputs.home-manager.nixosModules.home-manager - ] - ++ modulesFromTree - ++ [ - ./hardware-configuration.nix - - # Host-specific overrides - ({ config, lib, ... }: { - networking.hostName = "traveldroid"; - system.stateVersion = "25.11"; - - boot.loader.grub = { - enable = true; - efiSupport = true; - device = "nodev"; - useOSProber = true; - }; - boot.efi.canTouchEfiVariables = true; - - boot.kernelParams = [ - "systemd.mask=dev-tpm0.device" - "systemd.mask=dev-tpmrm0.device" - ]; - - mySystem.system.core.enable = true; - - desktop.hyprland.enable = true; - desktop.noctalia.enable = true; - desktop.stylix.enable = true; - - hardware.nvidia.enable = false; - }) - ]; -} + error: undefined variable 'import-tree' + at /nix/store/55kkrag72bfv79hgkd2dx6gc8q8q5g8z-source/Droidnix/generated/hosts/traveldroid/traveldroid.nix:12:27: + 11| ] + 12| ++ builtins.attrValues (import-tree ./generated/modules) + | ^ + 13| ++ [ +Command 'nix --extra-experimental-features 'nix-command flakes' build --print-out-paths '.#nixosConfigurations."traveldroid".config.system.build.nixos-rebuild' --no-link' returned non-zero exit status 1. #+END_SRC * First the nix-files that flake really needs and that do not fit wel in the hierarchical structure diff --git a/Droidnix/generated/hosts/traveldroid/boot.nix b/Droidnix/generated/hosts/traveldroid/boot.nix index 1cfce9f06..6e7d764a2 100644 --- a/Droidnix/generated/hosts/traveldroid/boot.nix +++ b/Droidnix/generated/hosts/traveldroid/boot.nix @@ -1,46 +1,24 @@ -{ inputs, ... }: +error: + … while calling the 'seq' builtin + at /nix/store/cncbwybi5fswwjkg9c76cgwm0bh6wsr9-source/lib/modules.nix:402:18: + 401| options = checked options; + 402| config = checked (removeAttrs config [ "_module" ]); + | ^ + 403| _module = checked (config._module); -let - # Import all reusable modules from ./generated/modules - modulesFromTree = builtins.attrValues (inputs.import-tree ./generated/modules); -in -inputs.nixpkgs.lib.nixosSystem { - system = "x86_64-linux"; + … while evaluating a branch condition + at /nix/store/cncbwybi5fswwjkg9c76cgwm0bh6wsr9-source/lib/modules.nix:305:9: + 304| checkUnmatched = + 305| if config._module.check && config._module.freeformType == null && merged.unmatchedDefns != [ ] then + | ^ + 306| let - specialArgs = { inherit inputs; }; + (stack trace truncated; use '--show-trace' to show the full, detailed trace) - modules = [ - inputs.home-manager.nixosModules.home-manager - ] - ++ modulesFromTree - ++ [ - ./hardware-configuration.nix - - # Host-specific overrides - ({ config, lib, ... }: { - networking.hostName = "traveldroid"; - system.stateVersion = "25.11"; - - boot.loader.grub = { - enable = true; - efiSupport = true; - device = "nodev"; - useOSProber = true; - }; - boot.efi.canTouchEfiVariables = true; - - boot.kernelParams = [ - "systemd.mask=dev-tpm0.device" - "systemd.mask=dev-tpmrm0.device" - ]; - - mySystem.system.core.enable = true; - - desktop.hyprland.enable = true; - desktop.noctalia.enable = true; - desktop.stylix.enable = true; - - hardware.nvidia.enable = false; - }) - ]; -} + error: undefined variable 'import-tree' + at /nix/store/55kkrag72bfv79hgkd2dx6gc8q8q5g8z-source/Droidnix/generated/hosts/traveldroid/traveldroid.nix:12:27: + 11| ] + 12| ++ builtins.attrValues (import-tree ./generated/modules) + | ^ + 13| ++ [ +Command 'nix --extra-experimental-features 'nix-command flakes' build --print-out-paths '.#nixosConfigurations."traveldroid".config.system.build.nixos-rebuild' --no-link' returned non-zero exit status 1.