infra: init vieuxtype.infra.newtype.fr
This commit is contained in:
parent
107cc6e53f
commit
f6c1177c38
13 changed files with 312 additions and 9 deletions
14
modules/hardware/vm.nix
Normal file
14
modules/hardware/vm.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ lib, modulesPath, ... }: {
|
||||
imports = [ "${modulesPath}/profiles/qemu-guest.nix" ];
|
||||
|
||||
boot.initrd.availableKernelModules =
|
||||
[ "ata_piix" "uhci_hcd" "virtio_pci" "sd_mod" "sr_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
services.qemuGuest.enable = true;
|
||||
|
||||
# VMs are noisy for this type of thing usually.
|
||||
nix.settings.max-jobs = lib.mkDefault 1;
|
||||
}
|
Reference in a new issue