32 lines
1.2 KiB
Nix
Executable File
32 lines
1.2 KiB
Nix
Executable File
{ inputs, ... }:
|
|
{
|
|
# Moved out of nixosConfigurations so nix flake check skips it — the installer
|
|
# image intentionally lacks fileSystems/boot.loader and fails those assertions.
|
|
# Access via: nix build .#installerSystems.rescue.config.system.build.toplevel
|
|
flake.installerSystems.rescue = inputs.nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
inputs.clan-core.nixosModules.installer
|
|
({ pkgs, ... }: {
|
|
users.users.root.openssh.authorizedKeys.keys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMxnkAP6i2Zau9PG/y30eJ9jvYLiDPhXjeKjEk2EBpPL deck@frigg"
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN8715VnvMq0HU5bDy2HQ8nuEaZIPrsWGK18ZcPWYfFr root@frigg"
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGqL930/JvFzULPrBCjcJTqctS7XrEL2aLV0+Xff8ZR4 eyduh@fractus"
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBYCg1BDYtbYAtzmMwY5oAe/z0mqKwVBEPMwmQ6ne78s eyduh@volutus"
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDulSQNHjRtuxIR0ucL2tMu9N5ebacLMxmqOhxjppfRc eyduh@arcus"
|
|
];
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
cryptsetup
|
|
btrfs-progs
|
|
gptfdisk
|
|
parted
|
|
vim
|
|
git
|
|
nvme-cli
|
|
];
|
|
})
|
|
];
|
|
};
|
|
}
|