for containers & kexec, boot.loader.*.enable = lib.mkForce false;

This commit is contained in:
bri 2024-02-24 14:26:00 -05:00 committed by mergify[bot]
parent d1dcefb91d
commit 5b77724069
5 changed files with 13 additions and 3 deletions

View File

@ -8,6 +8,8 @@
];
boot.isContainer = true;
boot.loader.grub.enable = lib.mkForce false;
boot.loader.systemd-boot.enable = lib.mkForce false;
services.journald.console = "/dev/console";
formatAttr = "tarball";

View File

@ -83,7 +83,8 @@ in {
'';
};
boot.loader.grub.enable = false;
boot.loader.grub.enable = lib.mkForce false;
boot.loader.systemd-boot.enable = lib.mkForce false;
boot.kernelParams = [
"console=ttyS0,115200" # allows certain forms of remote access, if the hardware is setup right
"panic=30"

View File

@ -1,13 +1,16 @@
{
config,
pkgs,
lib,
modulesPath,
pkgs,
...
}: {
imports = [
"${toString modulesPath}/virtualisation/lxc-container.nix"
];
boot.loader.grub.enable = lib.mkForce false;
boot.loader.systemd-boot.enable = lib.mkForce false;
formatAttr = "metadata";
fileExtension = ".tar.xz";
}

View File

@ -9,6 +9,8 @@
"${toString modulesPath}/virtualisation/lxc-container.nix"
];
boot.loader.grub.enable = lib.mkForce false;
boot.loader.systemd-boot.enable = lib.mkForce false;
formatAttr = "tarball";
fileExtension = ".tar.xz";
}

View File

@ -1,7 +1,9 @@
{modulesPath, ...}: {
{lib, modulesPath, ...}: {
imports = [
"${toString modulesPath}/virtualisation/proxmox-lxc.nix"
];
boot.loader.grub.enable = lib.mkForce false;
boot.loader.systemd-boot.enable = lib.mkForce false;
formatAttr = "tarball";
fileExtension = ".tar.xz";
}