flake.nix: add disko to default devshell

This commit is contained in:
h7x4
2026-01-27 18:35:18 +09:00
parent 8a84069dcf
commit 8273d98788
2 changed files with 16 additions and 6 deletions

View File

@@ -280,7 +280,16 @@
};
devShells = forAllSystems (system: {
default = nixpkgs-unstable.legacyPackages.${system}.callPackage ./shell.nix { };
default = let
pkgs = import nixpkgs-unstable {
inherit system;
overlays = [
(final: prev: {
inherit (inputs.disko.packages.${system}) disko;
})
];
};
in pkgs.callPackage ./shell.nix { };
cuda = let
cuda-pkgs = import nixpkgs-unstable {
inherit system;

View File

@@ -1,15 +1,16 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShellNoCC {
packages = with pkgs; [
just
jq
disko
editorconfig-checker
gnupg
gum
jq
just
openstackclient
sops
ssh-to-age
gnupg
statix
openstackclient
editorconfig-checker
];
env = {