Fix the:trace: evaluation warning: The option security.pam.enableSSHAgentAuth' defined in /etc/nixos/modules/lix-default.nix' has been renamed to `security.pam.sshAgentAuth.enable'.
-- Solved the edge case of nixos bootloader if one was made from vma.zst or iso installer.
This commit is contained in:
parent
945455f0d3
commit
be5da82f3b
5 changed files with 24 additions and 4 deletions
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
# SeaBIOS / legacy BIOS bootloader settings for VMs
|
||||
# Bootloader - GRUB for Legacy BIOS
|
||||
boot.loader.systemd-boot.enable = lib.mkForce false;
|
||||
boot.loader.grub = {
|
||||
enable = true;
|
||||
device = "/dev/sda";
|
||||
efiSupport = false;
|
||||
};
|
||||
boot.initrd.availableKernelModules = ["virtio_pci" "virtio_scsi" "ahci" "sd_mod" "virtio_blk"];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/sda1";
|
||||
fsType = "ext4";
|
||||
};
|
||||
}
|
||||
|
|
@ -18,5 +18,4 @@
|
|||
device = "/dev/vda1";
|
||||
fsType = "ext4"; # Use "btrfs" or "xfs" if you formatted it differently
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue