still build hm on minimal

This commit is contained in:
TheWanderingCrow 2025-08-01 13:43:02 -04:00
parent 80a1e83fd2
commit b5d14b5ba1
2 changed files with 15 additions and 16 deletions

View file

@ -37,21 +37,19 @@ in
inherit pkgs inputs;
hostSpec = config.hostSpec;
};
users.${hostSpec.username}.imports = lib.flatten (
lib.optional (!hostSpec.isMinimal) [
(
{config, ...}:
import (lib.custom.relativeToRoot "home/${hostSpec.username}/${hostSpec.hostName}.nix") {
inherit
pkgs
inputs
config
lib
hostSpec
;
}
)
]
);
users.${hostSpec.username}.imports = lib.flatten [
(
{config, ...}:
import (lib.custom.relativeToRoot "home/${hostSpec.username}/${hostSpec.hostName}.nix") {
inherit
pkgs
inputs
config
lib
hostSpec
;
}
)
];
};
}

View file

@ -34,6 +34,7 @@
hostSpec = {
hostName = "Michishirube";
persistFolder = "/persist";
isMinimal = true;
};
networking = {