hardware config
This commit is contained in:
@@ -87,10 +87,9 @@
|
||||
enable = true;
|
||||
settings = {
|
||||
add_newline = true;
|
||||
|
||||
|
||||
# Disable language modules to keep prompt short
|
||||
nodejs.disabled = true;
|
||||
npm.disabled = true;
|
||||
python.disabled = true;
|
||||
rust.disabled = true;
|
||||
golang.disabled = true;
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
inputs.hardware.nixosModules.dell-xps-13-9315
|
||||
./hardware-configuration.nix
|
||||
../common/global
|
||||
../common/features/laptop.nix
|
||||
@@ -57,4 +58,9 @@
|
||||
in
|
||||
pkgs.lib.splitString "\n" (builtins.readFile authorizedKeys);
|
||||
};
|
||||
|
||||
hardware.ipu6 = {
|
||||
enable = true;
|
||||
platform = "ipu6ep";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -14,28 +14,43 @@
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [
|
||||
"xhci_pci"
|
||||
"thunderbolt"
|
||||
"vmd"
|
||||
"nvme"
|
||||
"usb_storage"
|
||||
"sd_mod"
|
||||
];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot = {
|
||||
initrd.availableKernelModules = [
|
||||
"xhci_pci"
|
||||
"thunderbolt"
|
||||
"vmd"
|
||||
"nvme"
|
||||
"usb_storage"
|
||||
"sd_mod"
|
||||
];
|
||||
initrd.kernelModules = [ ];
|
||||
kernelModules = [
|
||||
"kvm-intel"
|
||||
"v4l2loopback"
|
||||
];
|
||||
extraModulePackages = with config.boot.kernelPackages; [
|
||||
ipu6-drivers
|
||||
v4l2loopback
|
||||
];
|
||||
|
||||
extraModprobeConfig = ''
|
||||
options v4l2loopback exclusive_caps=1 card_label="Intel MIPI Camera"
|
||||
'';
|
||||
|
||||
initrd.luks.devices = {
|
||||
"luks-aa168861-6ecf-4fcc-8a0d-6e1555892747".device =
|
||||
"/dev/disk/by-uuid/aa168861-6ecf-4fcc-8a0d-6e1555892747";
|
||||
"luks-92db61c9-eb4c-4cde-bd08-7042ff8db4ad".device =
|
||||
"/dev/disk/by-uuid/92db61c9-eb4c-4cde-bd08-7042ff8db4ad";
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/a9390fca-9ec2-4248-b003-a6ce47ad4fab";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
boot.initrd.luks.devices = {
|
||||
"luks-aa168861-6ecf-4fcc-8a0d-6e1555892747".device = "/dev/disk/by-uuid/aa168861-6ecf-4fcc-8a0d-6e1555892747";
|
||||
"luks-92db61c9-eb4c-4cde-bd08-7042ff8db4ad".device = "/dev/disk/by-uuid/92db61c9-eb4c-4cde-bd08-7042ff8db4ad";
|
||||
};
|
||||
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/90C1-FFCD";
|
||||
fsType = "vfat";
|
||||
|
||||
Reference in New Issue
Block a user