Skip to content

Commit a17e0ed

Browse files
feat: init Toothless
1 parent 7253a01 commit a17e0ed

32 files changed

+8719
-1
lines changed

.envrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
use flake

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ logs
2222
.env
2323
.env.*
2424
!.env.example
25-
config
25+
config
26+
.direnv/

flake.lock

+78
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
inputs = {
3+
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
4+
nixpkg-aprl.url = "github:cutestnekoaqua/nixpkgs/bun2";
5+
flake-utils.url = "github:numtide/flake-utils";
6+
};
7+
8+
outputs = { self, nixpkgs, flake-utils, nixpkg-aprl }:
9+
flake-utils.lib.eachDefaultSystem (system:
10+
let
11+
pkgs = nixpkgs.legacyPackages.${system};
12+
13+
libraries = with pkgs;[
14+
webkitgtk_4_1
15+
gtk3
16+
cairo
17+
gdk-pixbuf
18+
glib
19+
dbus
20+
openssl_3
21+
librsvg
22+
];
23+
24+
packages = with pkgs; [
25+
curl
26+
wget
27+
pkg-config
28+
dbus
29+
openssl_3
30+
glib
31+
gtk3
32+
libsoup
33+
webkitgtk_4_1
34+
librsvg
35+
nixpkg-aprl.legacyPackages.${system}.bun
36+
unzip
37+
];
38+
in
39+
{
40+
devShell = pkgs.mkShell {
41+
buildInputs = packages;
42+
43+
shellHook =
44+
''
45+
export LD_LIBRARY_PATH=${pkgs.lib.makeLibraryPath libraries}:$LD_LIBRARY_PATH
46+
export XDG_DATA_DIRS=${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}:${pkgs.gtk3}/share/gsettings-schemas/${pkgs.gtk3.name}:$XDG_DATA_DIRS
47+
'';
48+
};
49+
});
50+
}

src-tauri/.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Generated by Cargo
2+
# will have compiled files and executables
3+
/target/

0 commit comments

Comments
 (0)