Server NixOS configs
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: pass device for grub

+6 -2
+6 -2
hosts/tethys/hardware.nix
··· 1 1 { pkgs, modulesPath, ... }: 2 + let rootDisk = "/dev/disk/by-uuid/5e6f1593-c3dd-45e2-bf7a-27b3cd9ef023"; in 2 3 { 3 4 imports = [(modulesPath + "/profiles/qemu-guest.nix")]; 4 5 ··· 19 20 kernelModules = []; 20 21 }; 21 22 22 - loader.grub.enable = true; 23 + loader.grub = { 24 + enable = true; 25 + device = rootDisk; 26 + }; 23 27 }; 24 28 25 29 fileSystems."/" = { 26 - device = "5e6f1593-c3dd-45e2-bf7a-27b3cd9ef023"; 30 + device = rootDisk; 27 31 fsType = "ext4"; 28 32 }; 29 33 }