Virtualize elara
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -1,19 +1,17 @@
|
||||
{ ... }:
|
||||
{
|
||||
boot.initrd.kernelModules = [
|
||||
"xhci_pci"
|
||||
"uas"
|
||||
"sd_mod"
|
||||
];
|
||||
imports = [ ./display.nix ];
|
||||
|
||||
services.tlp.settings.DISK_DEVICES = "sda";
|
||||
hardware = {
|
||||
enableAllFirmware = true;
|
||||
|
||||
# By default, this host runs on an external SSD attached to himalia...
|
||||
imports = [ ../../himalia/hardware ];
|
||||
|
||||
# ...but it can also run attached to a SAS-provided laptop.
|
||||
specialisation.sas.configuration = {
|
||||
disabledModules = [ ../../himalia/hardware ];
|
||||
imports = [ ./sas ];
|
||||
cpu = {
|
||||
cores = 12;
|
||||
threads = 12;
|
||||
};
|
||||
};
|
||||
|
||||
virtualisation.hypervGuest.enable = true;
|
||||
|
||||
services.fstrim.enable = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user