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

@ -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";
};
}

View file

@ -18,5 +18,4 @@
device = "/dev/vda1";
fsType = "ext4"; # Use "btrfs" or "xfs" if you formatted it differently
};
}