Your one-stop-cake-shop for everything Freshly Baked has to offer

init(menu): add menu project

a.starrysky.fyi 1b13d00c f9bc9197

verified
Changed files
+57
menu
projects
+4
README.md
··· 15 15 16 16 | Project | Shortcode | Description | 17 17 | ----------------- | --------- | ------------------------------------------------------------------------------------------------- | 18 + | [*menu*][m] | m | Our URL shortening and [*golinks*][golinks] ("Quickly get to what you want to order") | 18 19 | [*packetmix*][pm] | pm | Our [*NixOS*](https://nixos.org) configurations ("All you need to bake a delicious system") | 19 20 | [*sprinkles*][s] | s | Our [*Niri*](https://github.com/YaLTeR/niri) widgets ("Add some decoration to your Niri desktop") | 20 21 22 + [m]: https://tangled.org/@freshlybakedca.ke/patisserie/tree/main/menu 21 23 [pm]: https://tangled.org/@freshlybakedca.ke/patisserie/tree/main/packetmix 22 24 [s]: https://tangled.org/@freshlybakedca.ke/patisserie/tree/main/sprinkles 25 + 26 + [golinks]: https://golinks.github.io/golinks/ 23 27 24 28 Projects are developed in individual directories, and have a workspace file in 25 29 `projects/${name}` to help you clone them down with everything they need.
+46
menu/nilla.nix
··· 1 + # SPDX-FileCopyrightText: 2025 FreshlyBakedCake 2 + # 3 + # SPDX-License-Identifier: MIT 4 + 5 + let 6 + cwd = ./.; 7 + pins = 8 + if builtins.hasAttr "npins" (builtins.readDir cwd) then import "${cwd}/npins" else import ../npins; 9 + 10 + nilla = import pins.nilla; 11 + in 12 + nilla.create ( 13 + { config, lib }: 14 + { 15 + config = { 16 + # With a package set defined, we can create a shell. 17 + shells.default = { 18 + # Declare what systems the shell can be used on. 19 + systems = [ "x86_64-linux" ]; 20 + 21 + # Define our shell environment. 22 + shell = 23 + { 24 + pkgs, 25 + stdenv, 26 + mkShell, 27 + reuse, 28 + ... 29 + }: 30 + mkShell { 31 + packages = [ 32 + config.inputs.nilla-cli.result.packages.nilla-cli.result.${stdenv.hostPlatform.system} 33 + config.inputs.nixpkgs.result.${stdenv.hostPlatform.system}.deadnix 34 + # config.packages.nilla-fmt.result.${stdenv.hostPlatform.system} 35 + # config.packages.treefmt.result.${stdenv.hostPlatform.system} 36 + (config.inputs.npins.result { 37 + inherit pkgs; 38 + inherit (stdenv.hostPlatform) system; 39 + }) 40 + reuse 41 + ]; 42 + }; 43 + }; 44 + }; 45 + } 46 + )
+4
projects/menu/workspace.josh
··· 1 + ::LICENSES/ 2 + ::npins/ 3 + ::workspace.josh.license=projects/menu/workspace.josh.license 4 + :/menu
+3
projects/menu/workspace.josh.license
··· 1 + SPDX-FileCopyrightText: 2025 FreshlyBakedCake 2 + 3 + SPDX-License-Identifier: CC0-1.0