Improve Proxmox backup image generation
This commit is contained in:
parent
5c0f7dd6b8
commit
09abf3bee9
6 changed files with 37 additions and 9 deletions
|
@ -1,5 +1,9 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
# Enable console output on TTY1 and serial console
|
||||
boot.kernelParams = [
|
||||
"console=tty1"
|
||||
|
|
|
@ -1,11 +1,14 @@
|
|||
{ config, lib, modulesPath, ... }:
|
||||
{
|
||||
# hardware-configuration.nix copied and adapted from the default configuration generated by nixos-generators
|
||||
|
||||
imports = [
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
|
||||
boot = {
|
||||
initrd = {
|
||||
# To use the VirtIO SCSI disks, add the "virtio_scsi" kernel module to availableKernelModules
|
||||
availableKernelModules = [ "uhci_hcd" "ehci_pci" "ahci" "virtio_pci" "virtio_blk" ];
|
||||
kernelModules = [ ];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue