By making the repo a flake by adding a flake.nix file to the project's root, it becomes very easy to setup for those on macOS or linux with nix installed
Suggest Steps to Implement (Optional)
Add flake.nix file to root of repo that defines the dependencies for Fire Tools.
I can provide one that I made however I only have a flake for making a dev environment with all the dependencies loaded, I haven't yet looked into how it can be altered to just be run straight from nix run
{
description = "Tools for debloating and installing Google Play Services on Fire Tablets + More!";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
outputs = { self, nixpkgs }:
let
supportedSystems = [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ];
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
pkgs = forAllSystems (system: nixpkgs.legacyPackages.${system});
in
{
devShells = forAllSystems (system: {
default = pkgs.${system}.mkShellNoCC {
packages = with pkgs.${system}; [
android-tools
python3
python311Packages.certifi
python311Packages.charset-normalizer
python311Packages.customtkinter
python311Packages.darkdetect
python311Packages.packaging
python311Packages.requests
python311Packages.tkinter
python311Packages.urllib3
tk
];
};
});
};
}
Feature Request
By making the repo a flake by adding a flake.nix file to the project's root, it becomes very easy to setup for those on macOS or linux with nix installed
Suggest Steps to Implement (Optional)
Add flake.nix file to root of repo that defines the dependencies for Fire Tools.
I can provide one that I made however I only have a flake for making a dev environment with all the dependencies loaded, I haven't yet looked into how it can be altered to just be run straight from
nix run