mirror of
https://github.com/nix-community/nixos-generators.git
synced 2024-09-11 12:15:29 +03:00
for containers & kexec, boot.loader.*.enable = lib.mkForce false;
This commit is contained in:
parent
d1dcefb91d
commit
5b77724069
@ -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";
|
||||
|
@ -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"
|
||||
|
@ -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";
|
||||
}
|
||||
|
@ -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";
|
||||
}
|
||||
|
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user