24 lines
406 B
Nix
24 lines
406 B
Nix
{ lib, ... }:
|
|
{
|
|
imports = [
|
|
#./examples/launchCageOnBoot.nix
|
|
];
|
|
|
|
networking.hostName = "visionfive-nix";
|
|
|
|
boot = {
|
|
kernelParams = [ "boot.shell_on_fail" ];
|
|
consoleLogLevel = lib.mkDefault 7;
|
|
initrd.kernelModules = [
|
|
"virtio_pci"
|
|
"virtio_blk"
|
|
"virtio_input"
|
|
"9pnet"
|
|
"9pnet_virtio"
|
|
];
|
|
};
|
|
|
|
# Enable ssh on boot
|
|
services.openssh.enable = true;
|
|
}
|