Add nix-infra-machine

This commit is contained in:
Ruben Hensen
2026-03-15 18:31:53 +01:00
parent 28ea6f4a47
commit 1034986fa1
79 changed files with 14465 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
let
sources = import ./nix/sources.nix;
pkgs = import sources.nixpkgs {};
hcloud = pkgs.callPackage nix/hcloud.nix {};
isMacOS = builtins.match ".*-darwin" pkgs.stdenv.hostPlatform.system != null;
in pkgs.mkShell rec {
name = "nix-infra-machine";
buildInputs = with pkgs; [
hcloud
] ++ (if !isMacOS then [
] else []);
shellHook = ''
'';
}