mirror of
https://github.com/nmasur/dotfiles
synced 2026-10-18 20:29:54 +00:00
skip iso/qcow image generation for AWS-only arrow host
This commit is contained in:
@@ -1,5 +1,10 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2026-10-17: fix flake check for AWS-only arrow
|
||||||
|
|
||||||
|
- `nix flake check` (run by the weekly Update Flake workflow) failed evaluating `packages.x86_64-linux.arrow-iso`: arrow now imports `amazon-image.nix` directly, which conflicts with the `iso` and `qcow-efi` generator formats (`boot.loader.timeout` 1 vs 10, and similar).
|
||||||
|
- `flake.nix` now has an `awsOnlyHosts = [ "arrow" ]` list; those hosts only get the `-aws` image. `arrow-iso` and `arrow-qcow` are no longer exported.
|
||||||
|
|
||||||
## 2026-10-15: post-TUI lag — re-investigation, timestamped recorder
|
## 2026-10-15: post-TUI lag — re-investigation, timestamped recorder
|
||||||
|
|
||||||
- **Status: root cause still unproven.** Not reproducible in fresh shells: a PTY harness (with and without a real zellij 0.45.1 session, fish 4.9.3, the real config and a copy of the real history) showed no echo-latency change after hx (with nixd/marksman/rumdl running), jjui, yazi, vim, less, lazygit or Claude Code, nor with huge history autosuggestions or concurrent history writers.
|
- **Status: root cause still unproven.** Not reproducible in fresh shells: a PTY harness (with and without a real zellij 0.45.1 session, fish 4.9.3, the real config and a copy of the real history) showed no echo-latency change after hx (with nixd/marksman/rumdl running), jjui, yazi, vim, less, lazygit or Claude Code, nor with huge history autosuggestions or concurrent history writers.
|
||||||
|
|||||||
@@ -183,15 +183,22 @@
|
|||||||
root = import ./hosts/x86_64-linux/swan/root.nix;
|
root = import ./hosts/x86_64-linux/swan/root.nix;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
awsOnlyHosts = [ "arrow" ];
|
||||||
|
|
||||||
generators = builtins.mapAttrs (
|
generators = builtins.mapAttrs (
|
||||||
# x86_64-linux = { arrow = ...; swan = ...; }
|
# x86_64-linux = { arrow = ...; swan = ...; }
|
||||||
system: hosts:
|
system: hosts:
|
||||||
(lib.concatMapAttrs (name: module: {
|
(lib.concatMapAttrs (
|
||||||
|
name: module:
|
||||||
|
{
|
||||||
"${name}-aws" = lib.generateImage {
|
"${name}-aws" = lib.generateImage {
|
||||||
inherit system module;
|
inherit system module;
|
||||||
format = "amazon";
|
format = "amazon";
|
||||||
specialArgs = { inherit hostnames; };
|
specialArgs = { inherit hostnames; };
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
# Hosts that import amazon-image.nix directly conflict with other formats
|
||||||
|
// lib.optionalAttrs (!builtins.elem name awsOnlyHosts) {
|
||||||
"${name}-iso" = lib.generateImage {
|
"${name}-iso" = lib.generateImage {
|
||||||
inherit system module;
|
inherit system module;
|
||||||
format = "iso";
|
format = "iso";
|
||||||
@@ -203,7 +210,8 @@
|
|||||||
specialArgs = { inherit hostnames; };
|
specialArgs = { inherit hostnames; };
|
||||||
# extraModules = [ "${nixpkgs}/nixos/modules/virtualisation/oci-image.nix" ];
|
# extraModules = [ "${nixpkgs}/nixos/modules/virtualisation/oci-image.nix" ];
|
||||||
};
|
};
|
||||||
}) hosts)
|
}
|
||||||
|
) hosts)
|
||||||
) lib.linuxHosts # x86_64-linux = { arrow = ...; swan = ...; }
|
) lib.linuxHosts # x86_64-linux = { arrow = ...; swan = ...; }
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user