2023-11-09 12:09:05 +01:00
|
|
|
{ lib, ... }:
|
2022-06-25 17:37:18 +02:00
|
|
|
{
|
2022-07-13 08:41:39 +02:00
|
|
|
networking.hostName = "visionfive-nix";
|
|
|
|
|
2023-11-09 12:09:05 +01:00
|
|
|
boot = {
|
|
|
|
kernelParams = [ "boot.shell_on_fail" ];
|
|
|
|
consoleLogLevel = lib.mkDefault 7;
|
|
|
|
initrd.kernelModules = [
|
2023-11-29 10:48:59 +01:00
|
|
|
"virtio_pci"
|
2023-11-09 12:09:05 +01:00
|
|
|
"virtio_blk"
|
2023-11-29 10:48:59 +01:00
|
|
|
"virtio_input"
|
|
|
|
"9pnet"
|
|
|
|
"9pnet_virtio"
|
2023-11-09 12:09:05 +01:00
|
|
|
];
|
|
|
|
};
|
2023-02-16 11:37:41 +01:00
|
|
|
|
2024-01-17 18:22:30 +01:00
|
|
|
nixpkgs.overlays = [ (import ./overlay.nix) ];
|
|
|
|
|
2022-07-13 08:40:23 +02:00
|
|
|
# Enable ssh on boot
|
|
|
|
services.openssh.enable = true;
|
2022-06-25 17:37:18 +02:00
|
|
|
}
|