{ config, lib, pkgs, modulesPath, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "nvme" "usb_storage" "usbhid" "sd_mod" ]; boot.initrd.kernelModules = [ "dm-snapshot" ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; boot.supportedFilesystems = [ "zfs" ]; boot.kernelPackages = pkgs.linuxPackages_latest; boot.zfs.package = pkgs.zfs_2_4; swapDevices = [ ]; hardware.graphics.extraPackages = with pkgs; [ rocmPackages.clr.icd ]; systemd.tmpfiles.rules = [ "L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}" ]; services.smartd = { enable = true; devices = [ { device = "/dev/disk/by-id/ata-ST2000DM008-2FR102_WFL4XPNJ"; # FIXME: Change this to your actual disk } { device = "/dev/disk/by-id/ata-ST2000DM008-2UB102_WFL64DH2"; } { device = "/dev/disk/by-id/nvme-Samsung_SSD_970_EVO_Plus_500GB_S4EVNM0NC08795J"; } ]; }; # 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..useDHCP`. #networking.firewall.enable = false; # networking.interfaces.enp12s0.useDHCP = lib.mkDefault true; # networking.interfaces.wlp11s0.useDHCP = lib.mkDefault true; hardware.bluetooth.enable = true; # enables support for Bluetooth hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot services.lact = { enable = true; }; services.hardware.openrgb.enable = true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; system.stateVersion = "25.11"; networking.hostName = "Aphelion"; networking.hostId = "b7fa9c25"; }