Cleanup flake

This commit is contained in:
cor 2026-01-05 00:25:33 +01:00
parent 77d4ce1ab3
commit cfb52c551e
No known key found for this signature in database

View File

@ -127,19 +127,9 @@
buildScript buildScript
pythonEnv pythonEnv
# C/C++ language server
pkgs.clang-tools pkgs.clang-tools
# Python language server
pkgs.python3Packages.python-lsp-server pkgs.python3Packages.python-lsp-server
# Nix language server
pkgs.nixd pkgs.nixd
# Git for submodules
pkgs.git
# Useful utilities
pkgs.esptool pkgs.esptool
]; ];
@ -161,30 +151,31 @@
echo " nixd - Nix LSP" echo " nixd - Nix LSP"
''; '';
}; };
apps = {
build = {
type = "app";
program = "${buildScript}/bin/build-firmware";
};
apps.build = { fontconvert = {
type = "app"; type = "app";
program = "${buildScript}/bin/build-firmware"; program = "${fontconvertScript}/bin/fontconvert";
}; };
apps.fontconvert = { convert-builtin-fonts = {
type = "app"; type = "app";
program = "${fontconvertScript}/bin/fontconvert"; program = "${convertBuiltinFontsScript}/bin/convert-builtin-fonts";
}; };
apps.convert-builtin-fonts = { build-font-ids = {
type = "app"; type = "app";
program = "${convertBuiltinFontsScript}/bin/convert-builtin-fonts"; program = "${buildFontIdsScript}/bin/build-font-ids";
}; };
apps.build-font-ids = { regenerate-fonts = {
type = "app"; type = "app";
program = "${buildFontIdsScript}/bin/build-font-ids"; program = "${regenerateFontsScript}/bin/regenerate-fonts";
}; };
apps.regenerate-fonts = {
type = "app";
program = "${regenerateFontsScript}/bin/regenerate-fonts";
}; };
}; };
}; };