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:
Root User 2026-02-06 22:17:55 +01:00
parent 945455f0d3
commit be5da82f3b
Signed by: root
GPG key ID: 087F0A95E5766D72
5 changed files with 24 additions and 4 deletions

View file

@ -1,22 +0,0 @@
{
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/vda"; # Install GRUB to the disk
efiSupport = false; # Disable UEFI
};
boot.initrd.availableKernelModules = ["virtio_pci" "virtio_scsi" "ahci" "sd_mod" "virtio_blk"];
fileSystems."/" = {
device = "/dev/vda1";
fsType = "ext4"; # Use "btrfs" or "xfs" if you formatted it differently
};
}