update device
This commit is contained in:
parent
7a53c384fa
commit
2cfdf79e7b
2 changed files with 7 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue