Regenerated
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
{ lib, config, pkgs, inputs, ... }:
|
||||
|
||||
let
|
||||
username = config.defaultUser or "henrov";
|
||||
modulesPath = ./generated/modules;
|
||||
|
||||
# Import all modules recursively (DO NOT evaluate them)
|
||||
importedModules = inputs.import-tree modulesPath;
|
||||
|
||||
# Collect Home Manager user attrsets from modules
|
||||
hmUsersList =
|
||||
map (m: m._module.args.hmUsers or {})
|
||||
importedModules.imports;
|
||||
|
||||
in
|
||||
{
|
||||
#################################
|
||||
# Core system config
|
||||
#################################
|
||||
|
||||
networking.hostName = "traveldroid";
|
||||
system.stateVersion = "26.05";
|
||||
|
||||
#################################
|
||||
# Module imports (critical fix)
|
||||
#################################
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
imports =
|
||||
[
|
||||
./boot.nix
|
||||
./hardware-configuration.nix
|
||||
]
|
||||
++ importedModules.imports;
|
||||
|
||||
#################################
|
||||
# Home Manager aggregation
|
||||
#################################
|
||||
|
||||
home-manager.users = lib.mkMerge hmUsersList;
|
||||
}
|
||||
Reference in New Issue
Block a user