nixos-riscv/configuration.nix
2024-01-17 15:18:27 +01:00

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