mail based rss feed aggregator
1{
2 description = "dev env";
3
4 inputs = {
5 nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
6 utils.url = "github:numtide/flake-utils";
7 };
8
9 outputs =
10 {
11 self,
12 nixpkgs,
13 utils,
14 }:
15 utils.lib.eachDefaultSystem (
16 system:
17 let
18 pkgs = import nixpkgs { inherit system; };
19 in
20 {
21 devShells.default = pkgs.mkShell {
22 buildInputs = with pkgs; [
23 gleam
24 erlang_28
25 rebar3
26 just
27 dbmate
28 sqlite
29 watchexec
30 # You don't need a system-wide install, but nixos may need you to set [virtualisation.podman.enable = true] in configuration.nix to _allow_ rootless containers. Idk if this is always needed tho.
31 podman
32 podman-compose
33 podman-tui
34 ];
35
36 shellHook = ''
37 echo "dev env loaded"
38 just --list
39 echo "Use just to run them."
40 '';
41 };
42 }
43 );
44}