···15151616| Project | Shortcode | Description |
1717| ----------------- | --------- | ------------------------------------------------------------------------------------------------- |
1818+| [*menu*][m] | m | Our URL shortening and [*golinks*][golinks] ("Quickly get to what you want to order") |
1819| [*packetmix*][pm] | pm | Our [*NixOS*](https://nixos.org) configurations ("All you need to bake a delicious system") |
1920| [*sprinkles*][s] | s | Our [*Niri*](https://github.com/YaLTeR/niri) widgets ("Add some decoration to your Niri desktop") |
20212222+[m]: https://tangled.org/@freshlybakedca.ke/patisserie/tree/main/menu
2123[pm]: https://tangled.org/@freshlybakedca.ke/patisserie/tree/main/packetmix
2224[s]: https://tangled.org/@freshlybakedca.ke/patisserie/tree/main/sprinkles
2525+2626+[golinks]: https://golinks.github.io/golinks/
23272428Projects are developed in individual directories, and have a workspace file in
2529`projects/${name}` to help you clone them down with everything they need.
+46
menu/nilla.nix
···11+# SPDX-FileCopyrightText: 2025 FreshlyBakedCake
22+#
33+# SPDX-License-Identifier: MIT
44+55+let
66+ cwd = ./.;
77+ pins =
88+ if builtins.hasAttr "npins" (builtins.readDir cwd) then import "${cwd}/npins" else import ../npins;
99+1010+ nilla = import pins.nilla;
1111+in
1212+nilla.create (
1313+ { config, lib }:
1414+ {
1515+ config = {
1616+ # With a package set defined, we can create a shell.
1717+ shells.default = {
1818+ # Declare what systems the shell can be used on.
1919+ systems = [ "x86_64-linux" ];
2020+2121+ # Define our shell environment.
2222+ shell =
2323+ {
2424+ pkgs,
2525+ stdenv,
2626+ mkShell,
2727+ reuse,
2828+ ...
2929+ }:
3030+ mkShell {
3131+ packages = [
3232+ config.inputs.nilla-cli.result.packages.nilla-cli.result.${stdenv.hostPlatform.system}
3333+ config.inputs.nixpkgs.result.${stdenv.hostPlatform.system}.deadnix
3434+ # config.packages.nilla-fmt.result.${stdenv.hostPlatform.system}
3535+ # config.packages.treefmt.result.${stdenv.hostPlatform.system}
3636+ (config.inputs.npins.result {
3737+ inherit pkgs;
3838+ inherit (stdenv.hostPlatform) system;
3939+ })
4040+ reuse
4141+ ];
4242+ };
4343+ };
4444+ };
4545+ }
4646+)