This commit is contained in:
2023-11-09 12:09:05 +01:00
parent 13d57e18a0
commit b65cc31518
3 changed files with 72 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
{ lib, ... }:
{
imports = [
./examples/launchCageOnBoot.nix
@@ -17,7 +18,13 @@
networking.hostName = "visionfive-nix";
boot.kernelParams = [ "boot.shell_on_fail" ];
boot = {
kernelParams = [ "boot.shell_on_fail" ];
consoleLogLevel = lib.mkDefault 7;
initrd.kernelModules = [
"virtio_blk"
];
};
# Enable ssh on boot
services.openssh.enable = true;