mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2026-01-13 02:48:24 +01:00
fixup! WIP: enable gickup on bicep
This commit is contained in:
@@ -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
|
||||
)
|
||||
];
|
||||
};
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user