swapped grub for systemd-boot
This commit is contained in:
parent
178087244f
commit
2466de1b49
1 changed files with 12 additions and 10 deletions
|
|
@ -12,8 +12,8 @@
|
||||||
|
|
||||||
system.stateVersion = "22.11";
|
system.stateVersion = "22.11";
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" = {
|
||||||
{ device = "/dev/disk/by-uuid/40fe3178-6ec1-450f-93fd-c359f2f3daf9";
|
device = "/dev/disk/by-uuid/40fe3178-6ec1-450f-93fd-c359f2f3daf9";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -40,17 +40,19 @@
|
||||||
};
|
};
|
||||||
kernelModules = [ "kvm-amd" ];
|
kernelModules = [ "kvm-amd" ];
|
||||||
extraModulePackages = [ ];
|
extraModulePackages = [ ];
|
||||||
loader.grub = {
|
#loader.grub = {
|
||||||
device =
|
# device = lib.mkDefault (if (hasNoFsPartition || supportBios) then
|
||||||
# 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"
|
||||||
# efiSupport = lib.mkDefault supportEfi;
|
# else
|
||||||
# efiInstallAsRemovable = lib.mkDefault supportEfi;
|
# "nodev");
|
||||||
};
|
#};
|
||||||
|
loader = {
|
||||||
loader.timeout = 0;
|
systemd-boot.enable = "true";
|
||||||
|
timeout = 0;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
# fileSystems."/" = {
|
# fileSystems."/" = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue