Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J1cugeLkfFLZMpiztQ8TyN
19 lines
619 B
Nix
19 lines
619 B
Nix
# Our own packages: install and key helpers. Imported by overlays/additions.nix,
|
|
# so they show up as pkgs.<name> on every host and on the installer ISO.
|
|
{ pkgs, inputs }:
|
|
let
|
|
inherit (pkgs.stdenv.hostPlatform) system;
|
|
|
|
secret-from-file = pkgs.callPackage ./secret-from-file { };
|
|
in
|
|
{
|
|
inherit secret-from-file;
|
|
|
|
install-system = pkgs.callPackage ./install-system {
|
|
disko = inputs.disko.packages.${system}.disko;
|
|
};
|
|
create-keys = pkgs.callPackage ./create-keys { };
|
|
set-password = pkgs.callPackage ./set-password { inherit secret-from-file; };
|
|
switch-system = pkgs.callPackage ./switch-system { };
|
|
}
|