machines: add aramis

This commit is contained in:
Bruno BELANYI 2021-04-02 12:00:21 +00:00
parent cd7c8e2172
commit 6acf9f4a19
6 changed files with 123 additions and 0 deletions

32
machines/aramis/boot.nix Normal file
View file

@ -0,0 +1,32 @@
{ ... }:
{
boot = {
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
initrd = {
availableKernelModules = [
"nvme"
"sd_mod"
"sdhci_pci"
"usb_storage"
"usbhid"
"xhci_pci"
];
kernelModules = [
"dm-snapshot"
];
luks.devices.crypt = {
device = "/dev/nvme0n1p1";
preLVM = true;
};
};
kernelModules = [
"kvm-intel"
];
extraModulePackages = [ ];
};
}