Your one-stop-cake-shop for everything Freshly Baked has to offer
at main 883 B view raw
1# SPDX-FileCopyrightText: 2025 FreshlyBakedCake 2# 3# SPDX-License-Identifier: MIT 4 5let 6 base = import ./nilla.nix; 7 project = base.extend { 8 modules = [ 9 10 { 11 config.inputs = ( 12 builtins.mapAttrs ( 13 _name: value: 14 if value ? settings.configuration.allowUnfree then 15 { 16 settings.configuration = { 17 allowUnfree = false; 18 allowUnfreePredicate = ( 19 x: (x ? meta.license) && (x.meta.license.shortName == "unfreeRedistributable") 20 ); # As we push to a public cachix, we can't use non-redistributable unfree software in CI 21 }; 22 } 23 else 24 { } 25 ) base.inputs 26 ); 27 } 28 29 { 30 config.lib.ci = true; 31 } 32 ]; 33 }; 34in 35project.config // { inherit (project) extend; }