49 lines
743 B
Nix
49 lines
743 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
env.DATABASE_URL = "./aperture.db";
|
|
|
|
packages = with pkgs; [
|
|
sqlite
|
|
glib
|
|
pango
|
|
cairo
|
|
atk
|
|
gtk3
|
|
gdk-pixbuf
|
|
libsoup_3
|
|
webkitgtk_4_1
|
|
pkg-config
|
|
];
|
|
|
|
languages = {
|
|
javascript = {
|
|
enable = true;
|
|
lsp.enable = true;
|
|
bun = {
|
|
enable = true;
|
|
install.enable = true;
|
|
};
|
|
};
|
|
rust = {
|
|
enable = true;
|
|
lsp.enable = true;
|
|
components = [
|
|
"rustc"
|
|
"cargo"
|
|
"clippy"
|
|
"rustfmt"
|
|
"rust-analyzer"
|
|
];
|
|
};
|
|
};
|
|
|
|
git-hooks.hooks = {
|
|
shellcheck.enable = true;
|
|
prettier.enable = true;
|
|
nixfmt.enable = true;
|
|
};
|
|
|
|
# See full reference at https://devenv.sh/reference/options/
|
|
}
|