Working on reshuffling

This commit is contained in:
2026-03-19 10:28:32 +00:00
parent 7f93d3193c
commit 8bebbbe472
2 changed files with 76 additions and 42 deletions
+38 -21
View File
@@ -364,30 +364,47 @@ in
** =generated/hosts/traveldroid/boot.nix= ** =generated/hosts/traveldroid/boot.nix=
#+BEGIN_SRC nix :tangle generated/hosts/traveldroid/boot.nix :noweb tangle :mkdirp yes :eval never-html #+BEGIN_SRC nix :tangle generated/hosts/traveldroid/boot.nix :noweb tangle :mkdirp yes :eval never-html
error: # ./generated/hosts/traveldroid/traveldroid.nix
while calling the 'seq' builtin { inputs, config, pkgs, lib, ... }:
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);
while evaluating a branch condition let
at /nix/store/cncbwybi5fswwjkg9c76cgwm0bh6wsr9-source/lib/modules.nix:305:9: # Import all reusable modules from ./generated/modules
304| checkUnmatched = modulesFromTree = builtins.attrValues (inputs.import-tree ./generated/modules);
305| if config._module.check && config._module.freeformType == null && merged.unmatchedDefns != [ ] then in
| ^ {
306| let imports = [
inputs.home-manager.nixosModules.home-manager
] ++ modulesFromTree ++ [
./hardware-configuration.nix
];
(stack trace truncated; use '--show-trace' to show the full, detailed trace) networking.hostName = "traveldroid";
system.stateVersion = "25.11";
error: undefined variable 'import-tree' boot.loader.grub = {
at /nix/store/55kkrag72bfv79hgkd2dx6gc8q8q5g8z-source/Droidnix/generated/hosts/traveldroid/traveldroid.nix:12:27: enable = true;
11| ] efiSupport = true;
12| ++ builtins.attrValues (import-tree ./generated/modules) device = "nodev";
| ^ useOSProber = true;
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. boot.efi.canTouchEfiVariables = true;
boot.kernelParams = [
"systemd.mask=dev-tpm0.device"
"systemd.mask=dev-tpmrm0.device"
];
# User-defined features
mySystem.system.core.enable = true;
# Desktop environment features
desktop.hyprland.enable = true;
desktop.noctalia.enable = true;
desktop.stylix.enable = true;
# Hardware overrides (host-specific)
hardware.nvidia.enable = false;
}
#+END_SRC #+END_SRC
* First the nix-files that flake really needs and that do not fit wel in the hierarchical structure * First the nix-files that flake really needs and that do not fit wel in the hierarchical structure
+38 -21
View File
@@ -1,24 +1,41 @@
error: # ./generated/hosts/traveldroid/traveldroid.nix
while calling the 'seq' builtin { inputs, config, pkgs, lib, ... }:
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);
while evaluating a branch condition let
at /nix/store/cncbwybi5fswwjkg9c76cgwm0bh6wsr9-source/lib/modules.nix:305:9: # Import all reusable modules from ./generated/modules
304| checkUnmatched = modulesFromTree = builtins.attrValues (inputs.import-tree ./generated/modules);
305| if config._module.check && config._module.freeformType == null && merged.unmatchedDefns != [ ] then in
| ^ {
306| let imports = [
inputs.home-manager.nixosModules.home-manager
] ++ modulesFromTree ++ [
./hardware-configuration.nix
];
(stack trace truncated; use '--show-trace' to show the full, detailed trace) networking.hostName = "traveldroid";
system.stateVersion = "25.11";
error: undefined variable 'import-tree' boot.loader.grub = {
at /nix/store/55kkrag72bfv79hgkd2dx6gc8q8q5g8z-source/Droidnix/generated/hosts/traveldroid/traveldroid.nix:12:27: enable = true;
11| ] efiSupport = true;
12| ++ builtins.attrValues (import-tree ./generated/modules) device = "nodev";
| ^ useOSProber = true;
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. boot.efi.canTouchEfiVariables = true;
boot.kernelParams = [
"systemd.mask=dev-tpm0.device"
"systemd.mask=dev-tpmrm0.device"
];
# User-defined features
mySystem.system.core.enable = true;
# Desktop environment features
desktop.hyprland.enable = true;
desktop.noctalia.enable = true;
desktop.stylix.enable = true;
# Hardware overrides (host-specific)
hardware.nvidia.enable = false;
}