fixup! WIP: enable gickup on bicep

This commit is contained in:
h7x4
2025-05-07 22:28:27 +02:00
parent cc9ceb0255
commit 792958edf4
3 changed files with 45 additions and 34 deletions

View File

@@ -183,10 +183,15 @@ in
path = format.generate "gickup-configuration-${name}.yml" {
destination.local = [ cfg.destinationSettings ];
source.${instance.type} = [
({
includeorgs = [ instance.owner ];
include = [ instance.repo ];
} // instance.settings)
(
(lib.optionalAttrs (instance.type != "any") {
user = instance.owner;
includeorgs = [ instance.owner ];
include = [ instance.repo ];
})
//
instance.settings
)
];
};
}))