62 lines
2.0 KiB
Nix
62 lines
2.0 KiB
Nix
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||
# and may be overwritten by future invocations. Please make changes
|
||
# to /etc/nixos/configuration.nix instead.
|
||
{ config, lib, pkgs, modulesPath, ... }:
|
||
|
||
{
|
||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||
|
||
boot.initrd.availableKernelModules =
|
||
[ "xhci_pci" "thunderbolt" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
|
||
boot.initrd.kernelModules = [ ];
|
||
boot.kernelModules = [ "kvm-intel" ];
|
||
boot.extraModulePackages = [ ];
|
||
boot.kernelParams = [ "i915.force_probe=4b3" ];
|
||
|
||
fileSystems."/" = {
|
||
device = "/dev/disk/by-uuid/94a2074d-be66-41f4-b92b-cb3226ab83a0";
|
||
fsType = "ext4";
|
||
};
|
||
|
||
fileSystems."/boot/efi" = {
|
||
device = "/dev/disk/by-uuid/6787-5C66";
|
||
fsType = "vfat";
|
||
};
|
||
|
||
fileSystems."/mnt/plex" = {
|
||
device = "10.0.0.139:/mnt/tank/root/data/plex";
|
||
fsType = "nfs";
|
||
};
|
||
|
||
fileSystems."/mnt/scratch" = {
|
||
device = "10.0.0.139:/mnt/tank/root/scratch";
|
||
fsType = "nfs";
|
||
};
|
||
|
||
fileSystems."/mnt/things" = {
|
||
device = "10.0.0.139:/mnt/tank/root/nathan/things";
|
||
fsType = "nfs";
|
||
};
|
||
|
||
fileSystems."/mnt/music" = {
|
||
device = "10.0.0.139:/mnt/tank/root/nathan/music";
|
||
fsType = "nfs";
|
||
};
|
||
|
||
swapDevices =
|
||
[{ device = "/dev/disk/by-uuid/06554e1d-4e6f-4693-88cb-ababf5e98d3d"; }];
|
||
|
||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||
# still possible to use this option, but it's recommended to use it in conjunction
|
||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||
networking.useDHCP = lib.mkDefault true;
|
||
# networking.interfaces.enp100s0.useDHCP = lib.mkDefault true;
|
||
# networking.interfaces.wlo1.useDHCP = lib.mkDefault true;
|
||
|
||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||
hardware.cpu.intel.updateMicrocode =
|
||
lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||
}
|