mirror of
https://github.com/nix-community/disko.git
synced 2026-12-02 05:53:28 +01:00
disko2: Set up dev environment for python
This commit is contained in:
1 parent
0e55423bf8
commit
b102aeb547
4 files changed
+29
No files matched your search
@@ -72,6 +72,22 @@
|
||||
inherit (self.packages.${system}) disko-doc;
|
||||
});
|
||||
|
||||
devShells = forAllSystems (system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
{
|
||||
default = pkgs.mkShell {
|
||||
name = "disko-dev";
|
||||
packages = with pkgs; [
|
||||
(python3.withPackages (ps: [
|
||||
ps.black # Code formatter
|
||||
ps.isort # Import sorter
|
||||
]))
|
||||
];
|
||||
};
|
||||
});
|
||||
|
||||
nixosConfigurations.testmachine = lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
|
||||
Reference in new issue
Block a user