Working on reshuffling
This commit is contained in:
+21
-43
@@ -364,52 +364,30 @@ 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
|
||||||
{ 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
|
… while evaluating a branch condition
|
||||||
# Import all reusable modules from ./generated/modules
|
at /nix/store/cncbwybi5fswwjkg9c76cgwm0bh6wsr9-source/lib/modules.nix:305:9:
|
||||||
modulesFromTree = builtins.attrValues (inputs.import-tree ./generated/modules);
|
304| checkUnmatched =
|
||||||
in
|
305| if config._module.check && config._module.freeformType == null && merged.unmatchedDefns != [ ] then
|
||||||
inputs.nixpkgs.lib.nixosSystem {
|
| ^
|
||||||
system = "x86_64-linux";
|
306| let
|
||||||
|
|
||||||
specialArgs = { inherit inputs; };
|
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
|
||||||
|
|
||||||
modules = [
|
error: undefined variable 'import-tree'
|
||||||
inputs.home-manager.nixosModules.home-manager
|
at /nix/store/55kkrag72bfv79hgkd2dx6gc8q8q5g8z-source/Droidnix/generated/hosts/traveldroid/traveldroid.nix:12:27:
|
||||||
]
|
11| ]
|
||||||
++ modulesFromTree
|
12| ++ builtins.attrValues (import-tree ./generated/modules)
|
||||||
++ [
|
| ^
|
||||||
./hardware-configuration.nix
|
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.
|
||||||
# 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;
|
|
||||||
})
|
|
||||||
];
|
|
||||||
}
|
|
||||||
#+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
|
||||||
|
|||||||
@@ -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
|
… while evaluating a branch condition
|
||||||
# Import all reusable modules from ./generated/modules
|
at /nix/store/cncbwybi5fswwjkg9c76cgwm0bh6wsr9-source/lib/modules.nix:305:9:
|
||||||
modulesFromTree = builtins.attrValues (inputs.import-tree ./generated/modules);
|
304| checkUnmatched =
|
||||||
in
|
305| if config._module.check && config._module.freeformType == null && merged.unmatchedDefns != [ ] then
|
||||||
inputs.nixpkgs.lib.nixosSystem {
|
| ^
|
||||||
system = "x86_64-linux";
|
306| let
|
||||||
|
|
||||||
specialArgs = { inherit inputs; };
|
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
|
||||||
|
|
||||||
modules = [
|
error: undefined variable 'import-tree'
|
||||||
inputs.home-manager.nixosModules.home-manager
|
at /nix/store/55kkrag72bfv79hgkd2dx6gc8q8q5g8z-source/Droidnix/generated/hosts/traveldroid/traveldroid.nix:12:27:
|
||||||
]
|
11| ]
|
||||||
++ modulesFromTree
|
12| ++ builtins.attrValues (import-tree ./generated/modules)
|
||||||
++ [
|
| ^
|
||||||
./hardware-configuration.nix
|
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.
|
||||||
# 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;
|
|
||||||
})
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user