Joseph Hanson
80405241c6
Some checks failed
Build on PR / nix-build (fj-shadowfax-01, native-x86_64, x86_64-linux) (pull_request) Has been cancelled
Build on PR / nix-build (fj-hetzner-aarch64-01, native-aarch64, aarch64-linux) (pull_request) Has been cancelled
Deploy on PR Merge / if_merged (fj-hetzner-aarch64-01, native-aarch64, aarch64-linux) (pull_request) Successful in 1m4s
Deploy on PR Merge / if_merged (fj-shadowfax-01, native-x86_64, x86_64-linux) (pull_request) Has been cancelled
17 lines
408 B
Nix
17 lines
408 B
Nix
{ ... }:
|
|
{
|
|
imports = [
|
|
./.
|
|
];
|
|
|
|
config = {
|
|
boot = {
|
|
initrd.availableKernelModules = [ "ahci" "virtio_pci" "virtio_scsi" "sr_mod" "virtio_blk" ];
|
|
initrd.kernelModules = [ "virtio_gpu" ];
|
|
extraModulePackages = [ ];
|
|
loader.systemd-boot.enable = true;
|
|
# since it's a vm, we can do this on every update safely
|
|
loader.efi.canTouchEfiVariables = true;
|
|
};
|
|
};
|
|
}
|