Modified specialisation generation slightly

This commit is contained in:
Jan-Bulthuis 2025-02-27 11:12:24 +01:00
parent 3619713bf2
commit d2fa73f887
1 changed files with 8 additions and 6 deletions

View File

@ -34,9 +34,11 @@ let
}; };
}; };
customBuilder = config: { customBuilder =
configuration = recursiveUpdate { desktop.name = config.name; } config.extraConfig; config:
}; recursiveUpdate {
desktop.name = config.name;
} config.extraConfig;
# Environment builders # Environment builders
environmentBuilders = { environmentBuilders = {
@ -89,9 +91,9 @@ in
}; };
config = { config = {
specialisation = mapAttrs ( specialisation = mapAttrs (name: value: {
name: value: (environmentBuilders."${value.type}" value) configuration = (environmentBuilders."${value.type}" value);
) cfg.environments; }) cfg.environments;
# Create session files # Create session files
home.extraBuilderCommands = '' home.extraBuilderCommands = ''