added grub
This commit is contained in:
parent
193376180e
commit
37dc05d4a3
1 changed files with 8 additions and 8 deletions
|
|
@ -39,17 +39,17 @@
|
||||||
kernelModules = [ "kvm-amd" ];
|
kernelModules = [ "kvm-amd" ];
|
||||||
};
|
};
|
||||||
extraModulePackages = [ ];
|
extraModulePackages = [ ];
|
||||||
# loader = {
|
loader = {
|
||||||
#systemd-boot.enable = true;
|
systemd-boot.enable = true;
|
||||||
#grub = {
|
grub = {
|
||||||
# device = {
|
device = {
|
||||||
# Even if there is a separate no-fs partition ("/dev/disk/by-partlabel/no-fs" i.e. "/dev/vda2"),
|
# Even if there is a separate no-fs partition ("/dev/disk/by-partlabel/no-fs" i.e. "/dev/vda2"),
|
||||||
# which will be used the bootloader, do not set it as loader.grub.device.
|
# which will be used the bootloader, do not set it as loader.grub.device.
|
||||||
# GRUB installation fails, unless the whole disk is selected.
|
# GRUB installation fails, unless the whole disk is selected.
|
||||||
# "/dev/disk/by-uuid/40fe3178-6ec1-450f-93fd-c359f2f3daf9"
|
"/dev/disk/by-uuid/40fe3178-6ec1-450f-93fd-c359f2f3daf9"
|
||||||
# };
|
};
|
||||||
# timeout = 0;
|
timeout = 0;
|
||||||
# };
|
};
|
||||||
};
|
};
|
||||||
# fileSystems."/" = {
|
# fileSystems."/" = {
|
||||||
# device = "/dev/disk/by-label/nixos";
|
# device = "/dev/disk/by-label/nixos";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue