25 lines
641 B
Nix
25 lines
641 B
Nix
{ config, lib, modulesPath, ... }:
|
|
|
|
{
|
|
boot = {
|
|
kernelModules = [ "kvm-intel" ];
|
|
initrd = {
|
|
availableKernelModules = [ "xhci_pci" "sdhci_pci" ];
|
|
kernelModules = [ "dm-snapshot" ];
|
|
};
|
|
};
|
|
|
|
fileSystems = {
|
|
# Remote
|
|
"/home/jimbo/JimboNFS" = {
|
|
device = "${config.ips.wgSpan}.1:/export/JimboNFS";
|
|
fsType = "nfs4";
|
|
options = [ "x-systemd.automount" "_netdev" "nofail" "noauto" ];
|
|
};
|
|
};
|
|
|
|
networking.useDHCP = lib.mkDefault true;
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
}
|