debug boot

This commit is contained in:
Joseph Hanson 2024-05-23 14:50:32 -05:00
parent 3e7f736e4f
commit 7a53c384fa
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
2 changed files with 17 additions and 1 deletions

View file

@ -61,7 +61,7 @@
specialArgs = {inherit inputs outputs;};
modules = [
sops-nix.nixosModules.sops
srvos.nixosModules.hardware-hetzner-cloud
./hardware/shadowfax-kubevirt.nix
srvos.nixosModules.server
srvos.nixosModules.mixins-systemd-boot
disko.nixosModules.disko

View file

@ -0,0 +1,16 @@
{ config, modulesPath, lib, ... }:
{
imports = [
"${modulesPath}/profiles/qemu-guest.nix"
];
config = {
boot.growPartition = true;
boot.loader.grub.device = "/dev/vda";
fileSystems."/" = lib.mkDefault { device = "/dev/vda1"; fsType = "ext4"; };
networking.useNetworkd = true;
networking.useDHCP = false;
};
}