mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 04:58:19 -04:00
added my_python pkgs
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
./programs.nix
|
||||
./ssh.nix
|
||||
./snapshot_manager.nix
|
||||
../../python
|
||||
];
|
||||
|
||||
boot = {
|
||||
|
||||
@@ -2,5 +2,6 @@
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
my_python
|
||||
];
|
||||
}
|
||||
|
||||
@@ -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
|
||||
]
|
||||
);
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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
|
||||
]
|
||||
))
|
||||
];
|
||||
}
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user