Your one-stop-cake-shop for everything Freshly Baked has to offer
1# SPDX-FileCopyrightText: 2025 FreshlyBakedCake 2# 3# SPDX-License-Identifier: MIT 4 5let 6 pins = import ./npins; 7 8 nilla = import pins.nilla; 9 10 settings = config: { 11 nixpkgs = { 12 configuration.allowUnfree = true; 13 overlays = [ 14 config.inputs.fenix.result.overlays.default 15 ]; 16 }; 17 "nixos-24.11" = (settings config).nixpkgs; 18 nixos-unstable = (settings config).nixpkgs; 19 }; 20 21 result = (nilla.create [ ]).extend { 22 modules = [ 23 ./menu/project.nix 24 ./packetmix/project.nix 25 ./sprinkles/project.nix 26 ( 27 { config, ... }: 28 { 29 config.inputs = builtins.mapAttrs (name: value: { 30 src = value; 31 settings = (settings config).${name} or config.lib.constants.undefined; 32 }) pins; 33 } 34 ) 35 ]; 36 37 args = { 38 inherit nilla pins; # pins needs to be a static arg for us to import from it... 39 }; 40 }; 41in 42result.config 43// { 44 extend = result.extend; 45}