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";
|
device = "/dev/vda1";
|
||||||
fsType = "ext4"; # Use "btrfs" or "xfs" if you formatted it differently
|
fsType = "ext4"; # Use "btrfs" or "xfs" if you formatted it differently
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -42,7 +42,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable SSH Passwordless Sudo
|
# Enable SSH Passwordless Sudo
|
||||||
security.pam.enableSSHAgentAuth = true;
|
security.pam.sshAgentAuth.enable = true;
|
||||||
security.pam.sshAgentAuth = {
|
security.pam.sshAgentAuth = {
|
||||||
enable = true;
|
enable = true;
|
||||||
authorizedKeysFiles = [
|
authorizedKeysFiles = [
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ in {
|
||||||
./modules/local/hostname_username.nix
|
./modules/local/hostname_username.nix
|
||||||
./modules/local/networking_local.nix
|
./modules/local/networking_local.nix
|
||||||
./modules/toolsets/remote_building.nix
|
./modules/toolsets/remote_building.nix
|
||||||
./modules/bootloader/seabios.nix
|
./modules/bootloader/seabios-assigned-proxmox-at-birth.nix
|
||||||
./modules/lix-default.nix
|
./modules/lix-default.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@
|
||||||
./modules/desktop-manager/sway_greetd_homemanager.nix
|
./modules/desktop-manager/sway_greetd_homemanager.nix
|
||||||
./modules/local/hostname_username.nix
|
./modules/local/hostname_username.nix
|
||||||
./modules/local/networking_local.nix
|
./modules/local/networking_local.nix
|
||||||
./modules/bootloader/seabios.nix
|
./modules/bootloader/seabios-assigned-iso-at-birth.nix
|
||||||
./modules/lix-default.nix
|
./modules/lix-default.nix
|
||||||
# Optionally: ./modules/toolsets/remote_building.nix
|
# Optionally: ./modules/toolsets/remote_building.nix
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue