flake: shell/ -> shell.nix

This commit is contained in:
Infinidoge 2025-02-16 04:01:19 -05:00
parent c69cc18327
commit e6aa87bbf1
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A
3 changed files with 2 additions and 2 deletions

40
shell.nix Normal file
View file

@ -0,0 +1,40 @@
{ self, lib, ... }:
{
perSystem =
{
config,
pkgs,
inputs',
...
}:
{
devshells.default =
let
pythonEnv = (
pkgs.python3.withPackages (
p: with p; [
qtile
qtile-extras
]
)
);
in
{
devshell.name = "universe";
devshell.motd = "";
devshell.packages = [
pythonEnv
inputs'.disko.packages.disko
];
env = [
{
name = "PYTHONPATH";
prefix = "${pythonEnv}/${pythonEnv.sitePackages}";
}
];
};
};
}