System/machines/perception/hardware.nix

71 lines
2.2 KiB
Nix
Raw Normal View History

2022-05-13 22:11:39 -04:00
# 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") ];
2022-05-13 22:11:39 -04:00
boot.initrd.availableKernelModules =
2023-04-08 23:20:43 -04:00
[ "xhci_pci" "thunderbolt" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
2022-05-13 22:11:39 -04:00
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" = {
2023-04-08 23:20:43 -04:00
device = "/dev/disk/by-uuid/94a2074d-be66-41f4-b92b-cb3226ab83a0";
fsType = "ext4";
};
2023-04-08 23:20:43 -04:00
fileSystems."/boot/efi" = {
device = "/dev/disk/by-uuid/6787-5C66";
fsType = "vfat";
};
2023-04-08 23:20:43 -04:00
fileSystems."/mnt/plex" = {
device = "10.0.0.139:/mnt/tank/root/data/plex";
fsType = "nfs";
};
2023-04-08 23:20:43 -04:00
fileSystems."/mnt/scratch" = {
device = "10.0.0.139:/mnt/tank/root/scratch";
fsType = "nfs";
};
2023-04-08 23:20:43 -04:00
fileSystems."/mnt/things" = {
device = "10.0.0.139:/mnt/tank/root/nathan/things";
fsType = "nfs";
};
2023-04-08 23:20:43 -04:00
fileSystems."/mnt/music" = {
device = "10.0.0.139:/mnt/tank/root/nathan/music";
fsType = "nfs";
};
2022-05-13 22:11:39 -04:00
2023-04-22 23:57:15 -04:00
fileSystems."/mnt/books" = {
device = "10.0.0.139:/mnt/tank/root/data/books";
fsType = "nfs";
};
2023-06-21 03:36:30 -04:00
fileSystems."/mnt/podcasts" = {
device = "10.0.0.139:/mnt/tank/root/data/podcasts";
fsType = "nfs";
};
2022-05-13 22:11:39 -04:00
swapDevices =
2023-04-08 23:20:43 -04:00
[{ 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;
2022-05-13 22:11:39 -04:00
}