flake: rewrite to use flake-parts
This commit is contained in:
parent
728a071b52
commit
50debb5dec
21 changed files with 445 additions and 760 deletions
|
@ -1,6 +1,24 @@
|
|||
{ self, inputs, ... }:
|
||||
{ self, lib, ... }:
|
||||
|
||||
{
|
||||
exportedModules = [
|
||||
./devos.nix
|
||||
];
|
||||
perSystem = { pkgs, ... }: {
|
||||
devshells.default =
|
||||
let
|
||||
pythonEnv = (pkgs.python310.withPackages (p: with p; [
|
||||
pkgs.qtile.passthru.unwrapped
|
||||
]));
|
||||
in
|
||||
{
|
||||
devshell.packages = [
|
||||
pythonEnv
|
||||
];
|
||||
|
||||
env = [
|
||||
{
|
||||
name = "PYTHONPATH";
|
||||
value = "${pythonEnv}/${pythonEnv.sitePackages}";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue