all nuing with versions

This commit is contained in:
ari committed 2026-09-16 22:15:07 -04:00
1 parent 1e1da2f7a1
commit f5f6a98152
3 files changed
+44 -26

No files matched your search

+17
View File
@@ -384,6 +384,17 @@ in
default = 77;
description = "Host reaches the guest over vsock, so no inbound network path is needed.";
};
version = mkOption {
type = types.str;
default = "dev";
description = ''
"YYYY.MM.DD-<commit-sha>" reported by hermes-vm/hermes-ctl's
`version` subcommand. Normally supplied for free by this flake's own
`nixosModules.default` (from its git metadata) - the "dev" default
here only shows up if this module is imported some other way.
'';
};
};
config = mkIf cfg.enable {
@@ -837,6 +848,9 @@ in
"--set"
"HERMES_DISK_BASE_DIR"
cfg.disk.baseDir
"--set"
"HERMENIX_VERSION"
cfg.version
];
}
((builtins.readFile ../nu/lib/common.nu) + "\n" + (builtins.readFile ../nu/hermes-vm.nu)))
@@ -872,6 +886,9 @@ in
"--set"
"HERMES_CLI_NAME"
cfg.cliName
"--set"
"HERMENIX_VERSION"
cfg.version
];
}
((builtins.readFile ../nu/lib/common.nu) + "\n" + (builtins.readFile ../nu/hermes-ctl.nu)))