update device

This commit is contained in:
Joseph Hanson 2024-05-25 10:46:46 -05:00
parent 7a53c384fa
commit 2cfdf79e7b
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
2 changed files with 7 additions and 8 deletions

View file

@ -84,7 +84,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

@ -3,14 +3,13 @@
imports = [
"${modulesPath}/profiles/qemu-guest.nix"
];
boot.initrd.availableKernelModules = [ "ahci" "virtio_pci" "virtio_scsi" "sr_mod" "virtio_blk" ];
boot.initrd.kernelModules = [ ];
boot.extraModulePackages = [];
swapDevices = [ ];
config = {
boot.growPartition = true;
boot.loader.grub.device = "/dev/vda";
fileSystems."/" = lib.mkDefault { device = "/dev/vda1"; fsType = "ext4"; };
networking.useNetworkd = true;
networking.useDHCP = false;
networking.useDHCP = true;
};
}