init(menu): add menu project #133

merged
opened by freshlybakedca.ke targeting main from private/minion/push-mmztworysmow
+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 23 25 26 + [golinks]: https://golinks.github.io/golinks/ 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. 26 30
+49
menu/project.nix
··· 1 + # SPDX-FileCopyrightText: 2025 FreshlyBakedCake 2 + # 3 + # SPDX-License-Identifier: MIT 4 + 5 + { config, lib }: 6 + { 7 + config = { 8 + shells.menu = { 9 + systems = [ "x86_64-linux" ]; 10 + 11 + shell = 12 + { 13 + bacon, 14 + fenix, 15 + mkShell, 16 + pkg-config, 17 + pkgs, 18 + reuse, 19 + sqlx-cli, 20 + stdenv, 21 + ... 22 + }: 23 + mkShell { 24 + packages = [ 25 + bacon 26 + config.inputs.nilla-cli.result.packages.nilla-cli.result.${stdenv.hostPlatform.system} 27 + config.inputs.nixpkgs.result.${stdenv.hostPlatform.system}.deadnix 28 + # config.packages.nilla-fmt.result.${stdenv.hostPlatform.system} 29 + # config.packages.treefmt.result.${stdenv.hostPlatform.system} 30 + (config.inputs.npins.result { 31 + inherit pkgs; 32 + inherit (stdenv.hostPlatform) system; 33 + }) 34 + pkg-config 35 + reuse 36 + (fenix.complete.withComponents [ 37 + "cargo" 38 + "clippy" 39 + "rust-src" 40 + "rustc" 41 + "rustfmt" 42 + "rust-analyzer" 43 + ]) 44 + sqlx-cli 45 + ]; 46 + }; 47 + }; 48 + }; 49 + }
+1
nilla.nix
··· 20 20 21 21 result = (nilla.create [ ]).extend { 22 22 modules = [ 23 + ./menu/project.nix 23 24 ./packetmix/project.nix 24 25 ./sprinkles/project.nix 25 26 (
+5
projects/menu/workspace.josh
··· 1 + ::LICENSES/ 2 + ::npins/ 3 + ::nilla.nix=projects/nilla.nix 4 + ::workspace.josh.license=projects/menu/workspace.josh.license 5 + :/menu
+3
projects/menu/workspace.josh.license
··· 1 + SPDX-FileCopyrightText: 2025 FreshlyBakedCake 2 + 3 + SPDX-License-Identifier: CC0-1.0