Files
dotfiles/overlays/default.nix
2026-01-22 21:26:38 -05:00

46 lines
1.0 KiB
Nix

{ inputs, ... }:
{
# When applied, the stable nixpkgs set (declared in the flake inputs) will be accessible through 'pkgs.stable'
stable = final: _prev: {
stable = import inputs.nixpkgs-stable {
system = final.stdenv.hostPlatform.system;
config.allowUnfree = true;
};
};
# When applied, the master nixpkgs set (declared in the flake inputs) will be accessible through 'pkgs.master'
master = final: _prev: {
master = import inputs.nixpkgs-master {
system = final.stdenv.hostPlatform.system;
config.allowUnfree = true;
};
};
python-env = final: _prev: {
my_python = final.python314.withPackages (
ps: with ps; [
alembic
apprise
apscheduler
fastapi
fastapi-cli
mypy
polars
psycopg
pyfakefs
pytest
pytest-cov
pytest-mock
pytest-xdist
requests
ruff
scalene
sqlalchemy
sqlalchemy
textual
typer
types-requests
]
);
};
}