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
+1
menu/.gitignore
··· 1 + /target
+6
menu/Cargo.toml
··· 1 + [package] 2 + name = "menu" 3 + version = "0.1.0" 4 + edition = "2024" 5 + 6 + [dependencies]
+50
menu/project.nix
··· 1 + # SPDX-FileCopyrightText: 2025 FreshlyBakedCake 2 + # 3 + # SPDX-License-Identifier: MIT 4 + 5 + { config, lib }: 6 + { 7 + config = { 8 + shells.default = config.shells.menu; 9 + shells.menu = { 10 + systems = [ "x86_64-linux" ]; 11 + 12 + shell = 13 + { 14 + bacon, 15 + fenix, 16 + mkShell, 17 + pkg-config, 18 + pkgs, 19 + reuse, 20 + sqlx-cli, 21 + stdenv, 22 + ... 23 + }: 24 + mkShell { 25 + packages = [ 26 + bacon 27 + config.inputs.nilla-cli.result.packages.nilla-cli.result.${stdenv.hostPlatform.system} 28 + config.inputs.nixpkgs.result.${stdenv.hostPlatform.system}.deadnix 29 + # config.packages.nilla-fmt.result.${stdenv.hostPlatform.system} 30 + # config.packages.treefmt.result.${stdenv.hostPlatform.system} 31 + (config.inputs.npins.result { 32 + inherit pkgs; 33 + inherit (stdenv.hostPlatform) system; 34 + }) 35 + pkg-config 36 + reuse 37 + (fenix.complete.withComponents [ 38 + "cargo" 39 + "clippy" 40 + "rust-src" 41 + "rustc" 42 + "rustfmt" 43 + "rust-analyzer" 44 + ]) 45 + sqlx-cli 46 + ]; 47 + }; 48 + }; 49 + }; 50 + }
+3
menu/src/main.rs
··· 1 + fn main() { 2 + println!("Hello, world!"); 3 + }
+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