Set up python.
This commit is contained in:
parent
d2f908005c
commit
77ae96ca7a
@ -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 = [
|
||||||
|
@ -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);
|
||||||
|
18
nix/configuration/roles/python/default.nix
Normal file
18
nix/configuration/roles/python/default.nix
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [ ];
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
python3
|
||||||
|
poetry
|
||||||
|
pyright
|
||||||
|
isort
|
||||||
|
black
|
||||||
|
];
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user