I'm not sure if this will work - I'm running it now - but I want to commit it so I can see what changes I ended up needing after establishing a baseline reading through the nixos-anywhere getting started instructions.
23 lines
447 B
Nix
23 lines
447 B
Nix
{
|
|
modulesPath,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
} @ args:
|
|
{
|
|
imports = [
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
(modulesPath + "/profiles/qemu-guest.nix")
|
|
./disk-config.nix
|
|
];
|
|
boot.loader.grub = {
|
|
# no need to set devices, disko will add all devices that have a EF02 partition to the list already
|
|
# devices = [ ];
|
|
efiSupport = true;
|
|
efiInstallAsRemovable = true;
|
|
};
|
|
environment.systemPackages = map lib.lowPrio [
|
|
pkgs.dig
|
|
];
|
|
|
|
}
|