Reorganize firefox-tabs script into subfolder with flake.nix and plan.md

This commit is contained in:
DannyDannyDanny 2026-01-30 18:17:57 +01:00
parent 0e1e54efc3
commit 426bcaefe8
3 changed files with 538 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{
description = "Firefox tabs script environment";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
};
outputs = { self, nixpkgs }:
let
system = "aarch64-darwin";
pkgs = import nixpkgs { inherit system; };
pythonEnv = pkgs.python3.withPackages (ps: with ps; [
lz4
]);
in
{
devShells.${system}.default = pkgs.mkShell {
buildInputs = [
pythonEnv
pkgs.lz4
];
shellHook = ''
echo "Firefox tabs script environment ready"
echo "Python: $(which python3)"
echo "Run: python3 firefox-tabs.py"
'';
};
};
}