machine: porthos: hardware: use disks by label

This commit is contained in:
Bruno BELANYI 2021-02-18 21:27:31 +00:00
parent 8d3d3521f3
commit b135646c28

View file

@ -7,12 +7,12 @@
]; ];
fileSystems."/" = { fileSystems."/" = {
device = "/dev/disk/by-uuid/d89efc61-6b03-4190-b488-301c919e2431"; device = "/dev/disk/by-label/nixos";
fsType = "ext4"; fsType = "ext4";
}; };
swapDevices = [ swapDevices = [
{ device = "/dev/disk/by-uuid/1a261204-2e78-496f-8a8d-d29bfa770306"; } { device = "/dev/disk/by-label/swap"; }
]; ];
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand"; powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";