mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 18:30:13 +00:00
fix: homeConfigurations need to be flattened
This commit is contained in:
20
flake.nix
20
flake.nix
@ -183,16 +183,18 @@
|
|||||||
) hosts
|
) hosts
|
||||||
) lib.hosts;
|
) lib.hosts;
|
||||||
|
|
||||||
homeConfigurations = builtins.mapAttrs (
|
homeConfigurations = flattenAttrset (
|
||||||
system: hosts:
|
|
||||||
builtins.mapAttrs (
|
builtins.mapAttrs (
|
||||||
name: module:
|
system: hosts:
|
||||||
lib.buildHome {
|
builtins.mapAttrs (
|
||||||
inherit system module;
|
name: module:
|
||||||
specialArgs = { inherit hostnames; };
|
lib.buildHome {
|
||||||
}
|
inherit system module;
|
||||||
) hosts
|
specialArgs = { inherit hostnames; };
|
||||||
) homeModules;
|
}
|
||||||
|
) hosts
|
||||||
|
) homeModules
|
||||||
|
);
|
||||||
|
|
||||||
# Disk formatting, only used once
|
# Disk formatting, only used once
|
||||||
diskoConfigurations = {
|
diskoConfigurations = {
|
||||||
|
Reference in New Issue
Block a user