fuuko: Move to new platform

The move already occurred on Tuesday, but I was too lazy to commit it.
This commit is contained in:
Simon Bruder 2022-09-17 12:02:14 +02:00
parent 057037b1b9
commit 47d202ef90
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC
3 changed files with 18 additions and 25 deletions

View file

@ -25,7 +25,7 @@ in
fuuko = { fuuko = {
system = "x86_64-linux"; system = "x86_64-linux";
extraModules = [ extraModules = [
hardware.common-cpu-intel hardware.common-cpu-amd
hardware.common-pc-ssd hardware.common-pc-ssd
]; ];

View file

@ -2,21 +2,16 @@
## Hardware ## Hardware
HP MicroServer Gen8 with an [Intel Xeon E3-1220L Custom build frankensteined into a HP Compaq dx7500s case (with all garbage removed).
v2](https://ark.intel.com/content/www/us/en/ark/products/65735/intel-xeon-processor-e3-1220l-v2-3m-cache-2-30-ghz.html)
and 8GiB ECC RAM (1600MHz). It isnt the best choice, but I already had it
lying around and it is acceptable after changing the CPU from the original
Celeron. I decided not to use another consumer-grade computer for this, since
the server offers ECC memory and therefore should be more reliable.
The SSD (Intel DC S4500 480GB) is connected to the first drive slot in a 3.5 ″ * Motherboard: GIGABYTE B450M S2H
adapter. I originally wanted to connect it to the internal ODD SATA port, but * CPU: AMD Ryzen 5 1400
since it only supports SATA2 (3Gbit/s) and does not support booting from it, * RAM: 2×8GB GOODRAM DDR4-2666 CL19
requiring an additional boot drive, I decided against this. * PSU: be quiet! System Power B9 450W (the dx7500s Lite-On didnt have an 8-pin CPU connector)
* SSD: Intel DC S4500 480GB
For storage it has two Hard drives (Seagate Exos E 7E8 ST8000NM000A and WD * HDD: Seagate Exos E 7E8 ST8000NM000A and WD Ultrastar DC HC320 0B36404 (both 8TB) in btrfs RAID1
Ultrastar DC HC320 0B36404) in BTRFS RAID1. They are connected to the 2rd and * GPU (required for text console/firmware due to lack of integrated graphics in R5 1400): ATI Radeon HD 4650 (to be replaced with a fanless SUNIX VGA0411/Volari Z11)
3th bay. Bay 3 is only SATA2, but that should not be the bottleneck. * Case fan: Noctua NF-A9 PWM
## Purpose ## Purpose

View file

@ -7,8 +7,7 @@
]; ];
boot = { boot = {
kernelModules = [ "kvm-intel" ]; kernelModules = [ "kvm-amd" ];
blacklistedKernelModules = [ "acpi_power_meter" ]; # constantly pollutes kernel log
extraModulePackages = [ ]; extraModulePackages = [ ];
supportedFilesystems = [ "btrfs" ]; supportedFilesystems = [ "btrfs" ];
kernelParams = [ "ip=dhcp" ]; kernelParams = [ "ip=dhcp" ];
@ -16,10 +15,9 @@
availableKernelModules = [ availableKernelModules = [
"aesni_intel" # hardware crypto for luks "aesni_intel" # hardware crypto for luks
"ahci" "ahci"
"ehci_pci" "cryptd"
"r8169" # network interface for remote unlocking
"sd_mod" "sd_mod"
"tg3" # network interface
"uhci_hcd"
"usb_storage" "usb_storage"
"usbhid" "usbhid"
"xhci_pci" "xhci_pci"
@ -72,10 +70,10 @@
} }
]; ];
powerManagement.cpuFreqGovernor = "performance"; powerManagement.cpuFreqGovernor = "schedutil";
networking.useDHCP = false; networking = {
networking.interfaces.eno1.useDHCP = true; useDHCP = false;
interfaces.enp8s0.useDHCP = true;
systemd.network.wait-online.extraArgs = [ "-i" "eno1" ]; };
} }