Set up python.

This commit is contained in:
Tom Alexander 2024-12-31 07:37:48 -05:00
parent d2f908005c
commit 77ae96ca7a
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
3 changed files with 23 additions and 0 deletions

View File

@ -38,6 +38,7 @@
./roles/wireguard ./roles/wireguard
./roles/bsnes ./roles/bsnes
./roles/ssh ./roles/ssh
./roles/python
]; ];
nix.settings.experimental-features = [ nix.settings.experimental-features = [

View File

@ -2,6 +2,7 @@
config, config,
lib, lib,
pkgs, pkgs,
pkgs-unstable,
... ...
}: }:
{ {
@ -41,6 +42,9 @@
]; ];
} }
) )
(final: prev: {
linux-firmware = pkgs-unstable.linux-firmware;
})
]; ];
boot.kernelPackages = lib.mkIf (!config.me.buildingIso) (pkgs.linuxPackagesFor pkgs.linux_znver4); boot.kernelPackages = lib.mkIf (!config.me.buildingIso) (pkgs.linuxPackagesFor pkgs.linux_znver4);

View File

@ -0,0 +1,18 @@
{
config,
lib,
pkgs,
...
}:
{
imports = [ ];
environment.systemPackages = with pkgs; [
python3
poetry
pyright
isort
black
];
}