Use labels instead of uuid for Netcup hardware

This commit is contained in:
Malte Tammena 2021-12-18 13:18:24 +01:00
parent d234097569
commit 8fa692070a

View file

@ -7,12 +7,12 @@
[ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/c185b0bf-145d-4ec3-8848-73da24e5caf6";
device = "/dev/disk/by-label/nixos";
fsType = "ext4";
};
swapDevices =
[{ device = "/dev/disk/by-uuid/112f05bd09ee0-4dfb-b94c-9c950ce411ff"; }];
[{ device = "/dev/disk/by-label/swap"; }];
hardware.cpu.amd.updateMicrocode =
lib.mkDefault config.hardware.enableRedistributableFirmware;