Working on reshuffling
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user