Add devShell to flake

This commit is contained in:
Christian
2023-09-20 18:23:04 +02:00
parent ba85575211
commit a25873d518

View File

@@ -18,6 +18,12 @@
];
};
forAllSystems = function:
nixpkgs.lib.genAttrs [
"x86_64-linux"
"aarch64-darwin"
] (system: function nixpkgs.legacyPackages.${system});
in
{
nixosConfigurations = {
@@ -30,5 +36,11 @@
];
};
};
devShells = forAllSystems (pkgs: {
default = pkgs.mkShell {
buildInputs = [ pkgs.nixos-rebuild ];
};
});
};
}