{ custom, hostname }: { lib, ... }: { imports = [ custom.inputs.nixos-hardware.nixosModules.dell-precision-5530 custom.inputs.nixos-hardware.nixosModules.common-gpu-nvidia custom.inputs.nixos-hardware.nixosModules.common-gpu-intel (import "${custom.inputs.self}/modules/auto-upgrade" { inherit custom; }) "${custom.inputs.self}/hardware/bluetooth" "${custom.inputs.self}/hardware/nvidia" "${custom.inputs.self}/hardware/dvd" (import "${custom.inputs.self}/modules/desktop" { inherit custom; }) "${custom.inputs.self}/modules/lockscreen" "${custom.inputs.self}/modules/logs-share" "${custom.inputs.self}/modules/tlp" (import "${custom.inputs.self}/modules/restic" { inherit custom; }) ]; boot.initrd.availableKernelModules = [ "aesni_intel" "ahci" "cryptd" "nvme" "rtsx_pci_sdmmc" "sd_mod" "sr_mod" "usbhid" "usb_storage" "xhci_pci" ]; boot.initrd.kernelModules = [ "dm-snapshot" ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; boot.kernelParams = [ ]; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; boot.initrd.luks.devices."cryptlvm".device = "/dev/nvme0n1p2"; # Required to build aarch64 packages boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; fileSystems."/" = { device = "/dev/disk/by-label/nixos"; fsType = "ext4"; }; fileSystems."/boot" = { device = "/dev/disk/by-label/BOOT"; fsType = "vfat"; }; networking.hostName = hostname; swapDevices = [ { device = "/dev/disk/by-label/swap"; } ]; virtualisation.virtualbox.host.enable = true; }