{ 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; }; }