Updated flake to allow unfree packages within devshells

This commit is contained in:
Ceferino Patino 2024-09-21 20:02:13 -05:00
commit e1b01c1d31
Signed by: c4patino
SSH key fingerprint: SHA256:Wu+cU1t+7zVT9wzew/4meNmeulo66NzMqc22MdDBgXI

View file

@ -11,7 +11,16 @@
systems = ["x86_64-linux"];
perSystem = { config, pkgs, ... }:
perSystem = { config, pkgs, system, ... }:
let
pkgs = import inputs.nixpkgs {
inherit system;
config = {
allowUnfree = true;
cudaSupport = true;
};
};
in
{
devShells = {
python311-dev = (import ./envs/python311.nix {inherit pkgs;});