Tidy hardware config

This commit is contained in:
Torjus Håkestad 2024-02-27 22:26:53 +01:00
parent 5eb076d8d4
commit ed16a63e50
2 changed files with 13 additions and 9 deletions

View File

@ -6,20 +6,24 @@
{ {
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd.availableKernelModules = boot = {
[ "xhci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; initrd = {
boot.initrd.kernelModules = [ ]; availableKernelModules =
boot.kernelModules = [ "kvm-intel" ]; [ "xhci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.extraModulePackages = [ ]; kernelModules = [ ];
luks.devices."cryptroot".device =
"/dev/disk/by-uuid/f71b0ace-f38f-435f-a07a-007f9cfe4919";
};
kernelModules = [ "kvm-intel" ];
extraModulePackages = [ ];
};
fileSystems."/" = { fileSystems."/" = {
device = "/dev/disk/by-uuid/91a0dbc4-426f-4b7b-a49e-063d1d0e59fb"; device = "/dev/disk/by-uuid/91a0dbc4-426f-4b7b-a49e-063d1d0e59fb";
fsType = "xfs"; fsType = "xfs";
}; };
boot.initrd.luks.devices."cryptroot".device =
"/dev/disk/by-uuid/f71b0ace-f38f-435f-a07a-007f9cfe4919";
fileSystems."/boot" = { fileSystems."/boot" = {
device = "/dev/disk/by-uuid/AF2D-FAD0"; device = "/dev/disk/by-uuid/AF2D-FAD0";
fsType = "vfat"; fsType = "vfat";

View File

@ -1,4 +1,4 @@
{ ... }: { { pkgs, ... }: {
services = { services = {
dbus.enable = true; dbus.enable = true;
pipewire = { pipewire = {