hw ace fix
This commit is contained in:
@@ -9,7 +9,9 @@
|
|||||||
boot = {
|
boot = {
|
||||||
initrd = {
|
initrd = {
|
||||||
availableKernelModules = [ "xhci_pci" "thunderbolt" "vmd" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
availableKernelModules = [ "xhci_pci" "thunderbolt" "vmd" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
||||||
luks.devices.cryptroot.device = pkgs.lib.mkIf (hyper.host == "NxXPS") "/dev/nvme0n1p7";
|
luks.devices = pkgs.lib.mkIf (hyper.host == "NxXPS") {
|
||||||
|
"vault".device = "/dev/nvme0n1p7";
|
||||||
|
};
|
||||||
kernelModules = pkgs.lib.mkIf (hyper.host == "NxXPS") [ "i915" "cryptd" ];
|
kernelModules = pkgs.lib.mkIf (hyper.host == "NxXPS") [ "i915" "cryptd" ];
|
||||||
};
|
};
|
||||||
kernelModules = [ "kvm-intel" ];
|
kernelModules = [ "kvm-intel" ];
|
||||||
@@ -28,7 +30,7 @@
|
|||||||
"${hyper.home}/vault" = { device = "/dev/disk/by-label/vault"; fsType = "ext4"; };
|
"${hyper.home}/vault" = { device = "/dev/disk/by-label/vault"; fsType = "ext4"; };
|
||||||
} else if hyper.host == "NxNORTH" then {
|
} else if hyper.host == "NxNORTH" then {
|
||||||
"${hyper.home}/shared" = { device = "/dev/disk/by-label/shared"; } // ntfs;
|
"${hyper.home}/shared" = { device = "/dev/disk/by-label/shared"; } // ntfs;
|
||||||
} else if hyper.host == "NxXPS" then {
|
} else if hyper.host == "NxACE" then {
|
||||||
"/vault" = { device = "/dev/disk/by-label/vault"; fsType = "ext4"; };
|
"/vault" = { device = "/dev/disk/by-label/vault"; fsType = "ext4"; };
|
||||||
} else {});
|
} else {});
|
||||||
hardware = {
|
hardware = {
|
||||||
|
|||||||
Reference in New Issue
Block a user