The ogygia-updated trial on maverick, warlock, and merlin is complete, so it becomes the updater for every host. Previously the rest of the fleet ran the legacy auto_updater timer and the interactive update script, both of which would race the ogygia daemon. Enable ogygia.updated in ogygia.nix and remove the auto_updater and shell update_scripts modules entirely. Hosts that rebooted for kernel updates via auto_updater.allowReboot now set ogygia.updated.settings.activate.allow_reboot, and the redundant per-host overrides on the trial hosts are dropped. Test plan: - CI - Evaluated maverick, warlock, fanboy, and viper toplevels successfully
57 lines
1.3 KiB
Nix
57 lines
1.3 KiB
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./disko.nix
|
|
];
|
|
|
|
config = {
|
|
system.stateVersion = "25.05";
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
boot.loader.grub = {
|
|
enable = true;
|
|
|
|
efiSupport = true;
|
|
device = "nodev";
|
|
|
|
mirroredBoots = lib.mkOverride 51 [
|
|
{
|
|
devices = [ "/dev/disk/by-path/pci-0000:01:00.0-nvme-1" ];
|
|
path = "/boot0";
|
|
}
|
|
{
|
|
devices = [ "/dev/disk/by-path/pci-0000:05:00.0-nvme-1" ];
|
|
path = "/boot1";
|
|
}
|
|
];
|
|
};
|
|
|
|
custom.defaults = true;
|
|
|
|
# This device is currently broken/offline, so its Nebula key couldn't be
|
|
# grabbed for the ogygia-managed overlay. If it's brought back to life,
|
|
# gather its pubkey and add it to the Ogygia-managed Nebula (set
|
|
# ogygia.nebula.groups + pubKey, sign with `ogygia nebula rekey`) and drop
|
|
# this override.
|
|
ogygia.nebula.enable = lib.mkForce false;
|
|
|
|
custom.tang = {
|
|
enable = true;
|
|
networkingModule = "r8169";
|
|
secretFile = "/data/disk_encryption.jwe";
|
|
devices = [ "disk0-crypt" "disk1-crypt" ];
|
|
};
|
|
|
|
ogygia.updated.settings.activate.allow_reboot = true;
|
|
|
|
custom.sched_ext = {
|
|
enable = true;
|
|
scheduler = "scx_lavd";
|
|
};
|
|
services.scx.extraArgs = [ "--powersave" ];
|
|
|
|
custom.impermanence.enable = true;
|
|
};
|
|
}
|