23 lines
596 B
Nix
23 lines
596 B
Nix
{ config, pkgs, lib, ... }:
|
|
let sources = import ../nix/sources.nix;
|
|
in
|
|
{
|
|
imports =
|
|
[ ./.
|
|
./3950x-hardware-config.nix
|
|
"${sources.nixos-hardware}/common/cpu/amd"
|
|
];
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
boot.supportedFilesystems = [ "zfs" ];
|
|
boot.kernelModules = [ "nct6775" ];
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
networking.hostId = "c7736638";
|
|
services.zfs.autoScrub.enable = true;
|
|
services.zfs.trim.enable = true;
|
|
|
|
networking.useDHCP = false;
|
|
networking.interfaces.enp9s0.useDHCP = true;
|
|
}
|