debug boot
This commit is contained in:
parent
3e7f736e4f
commit
7a53c384fa
2 changed files with 17 additions and 1 deletions
|
@ -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
|
||||
|
|
16
hardware/shadowfax-kubevirt.nix
Normal file
16
hardware/shadowfax-kubevirt.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue