Take the pain out of keeping all your calendars together
1# SPDX-FileCopyrightText: 2025 FreshlyBakedCake
2# SPDX-FileCopyrightText: 2025 Skyler Grey <sky@a.starrysky.fyi>
3#
4# SPDX-License-Identifier: MIT
5
6let
7 pins = import ./npins;
8
9 nilla = import pins.nilla;
10in
11nilla.create (
12 { config, lib }:
13 {
14 config = {
15 inputs = {
16 nixpkgs.src = pins.nixpkgs;
17 npins.src = pins.npins;
18 };
19
20 shells.default = {
21 systems = [ "x86_64-linux" ];
22
23 shell =
24 {
25 bacon,
26 cargo,
27 cargo-leptos,
28 devenv,
29 llvmPackages,
30 mkShell,
31 pkgs,
32 reuse,
33 rust-analyzer,
34 rustc,
35 rustPlatform,
36 sass,
37 sqlx-cli,
38 system,
39 ...
40 }:
41 mkShell {
42 packages = [
43 (config.inputs.npins.result { inherit pkgs system; })
44 bacon
45 cargo
46 cargo-leptos
47 devenv
48 llvmPackages.bintools
49 reuse
50 rust-analyzer
51 rustc
52 rustPlatform.bindgenHook
53 sass
54 sqlx-cli
55 ];
56
57 shellHook = ''
58 export DATABASE_URL="postgresql:///calpoll?host=$(pwd)/.devenv/run/postgres"
59 '';
60 };
61 };
62 };
63 }
64)