added my_python pkgs

This commit is contained in:
2025-10-28 21:08:01 -04:00
parent 8142582e4a
commit d2db0de371
5 changed files with 32 additions and 24 deletions

View File

@@ -18,7 +18,6 @@
./programs.nix
./ssh.nix
./snapshot_manager.nix
../../python
];
boot = {

View File

@@ -2,5 +2,6 @@
{
environment.systemPackages = with pkgs; [
git
my_python
];
}

View File

@@ -14,4 +14,24 @@
config.allowUnfree = true;
};
};
python-env = final: _prev: {
my_python = final.python313.withPackages (
ps: with ps; [
apprise
apscheduler
mypy
polars
pyfakefs
pytest
pytest-cov
pytest-mock
pytest-xdist
requests
ruff
typer
types-requests
]
);
};
}

View File

@@ -1,22 +0,0 @@
{ pkgs, ... }:
{
environment.systemPackages = [
(pkgs.python313.withPackages (
ps: with ps; [
apprise
apscheduler
mypy
polars
pyfakefs
pytest
pytest-cov
pytest-mock
pytest-xdist
requests
ruff
typer
types-requests
]
))
];
}

View File

@@ -1,4 +1,9 @@
{ config, lib, ... }:
{
config,
lib,
outputs,
...
}:
with lib;
@@ -69,6 +74,10 @@ in
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
'';
nixpkgs = {
overlays = builtins.attrValues outputs.overlays;
config.allowUnfree = true;
};
services.github-runners.${name} = {
enable = true;
replace = true;
@@ -83,6 +92,7 @@ in
nixos-rebuild
openssh
treefmt
my_python
];
};
users = {