Site Tools


Hotfix release available: 2024-02-06b "Kaos". upgrade now! [55.2] (what's this?)
pi-homeserver

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
pi-homeserver [2022/11/17 20:27] – created 10.100.0.1pi-homeserver [2022/11/20 20:30] – [NixOS crypt setup] 10.100.0.1
Line 1: Line 1:
 ====== Hardware ====== ====== Hardware ======
-  * Mainboard: Odroid-H2 [[https://wiki.odroid.com/odroid-h2/hardware]]// +  * Mainboard: Odroid-H2 Rev B+ [[https://wiki.odroid.com/odroid-h2/hardware]] 
-CPU compare with Odroid-M1 [[https://www.cpubenchmark.net/compare/ROC-RK3568-PC-HDMI-(Android)-vs-Intel-Celeron-J4105/4752vs3159]]//+    CPU compare with Odroid-M1 [[https://www.cpubenchmark.net/compare/ROC-RK3568-PC-HDMI-(Android)-vs-Intel-Celeron-J4105/4752vs3159]]\\
  
-  *Memory: 260Pin SO-DIMM 8GB DDR4 2400 CL14 1,2V, 1×Riegel vorhanden"HX424S14IB2/8" https://www.kingston.com/de/memory/search/discontinuedmodels?partId=HX424S14IB2%2F8 via 2. Slot  (max 2x 16GB DDR4)//+  * Memory: 1×260Pin SO-DIMM 8GB DDR4 2400 CL14 1,2V: [[https://www.kingston.com/de/memory/search/discontinuedmodels?partId=HX424S14IB2%2F8|HX424S14IB2/8]] 2. Slot available (max 2×16GB DDR4)\\
  
-  *8GB eMMC 5.0//+  * 8GB eMMC 5.0 (read rate ~130MB/s)\\
  
-  *M.2 SATA 2280 128GB Emtec SSD (3D Nand bis 520MB/s) [[https://www.emtec-international.com/en/ssd/internal/x250-m2-sata-ssd-power-plus]]+  * //some M.2 PCIe 2.0 x4 card// (supports NGFF-2280 cards, not compatible with M.2 SATA SSD) 
 +  * //some HDDs (1x 12TB will be connected)//
  
 ====== Powerconsumption ====== ====== Powerconsumption ======
-BIOS: (Odroid H2, SSD X250 128GB, 8GB Memory DDR4 2400 CL14 "HX424S14IB2/8"; HDMI on, Ethernet 1x, 1x USB-Keyboard): 7,5W +BIOS: (Odroid H2, SSD X250 128GB, 8GB Memory DDR4 2400 CL14 "HX424S14IB2/8"; HDMI on, Ethernet 1x, 1x USB-Keyboard):\\ 
-idle: (Odroid H2, SSD X250 128GB, 8GB Memory DDR4 2400 CL14 "HX424S14IB2/8"; HDMI on, Ethernet 1x, 1x USB-Keyboard):  +7,5W\\ 
 +Idle: (Odroid H2, SSD X250 128GB, 8GB Memory DDR4 2400 CL14 "HX424S14IB2/8"; HDMI on, Ethernet 1x, 1x USB-Keyboard):\\ 
 +~5W
 ===== BIOS configuration ===== ===== BIOS configuration =====
 For booting fom emmc: XHCI enabled For booting fom emmc: XHCI enabled
  
 +===== NixOS crypt setup =====
 +Encrypted NixOS via standard installer by Nov.2022 (v22.05) but changed ext4 root filesystem to btrfs after installation.\\
 +Before reboot you can unmount the new installation-system partitions. Then you can simply convert the ext4-filesystem with
 +<code bash>
 +btrfs-convert /tmp/newroot
 +</code>
 +With **blkid** you can get the new UUID for the converted logical volume and copy in hardware-configuration.nix file:
 +==== hardware-configuration.nix ====
 +<code bash>
 +fileSystems."/" =
 +    { device = "/dev/disk/by-uuid/d11cd5b3-8a41-42d0-b671-04efbdd8b18b";
 +      fsType = "btrfs";
 +      options = [ "subvolid=5" "subvol=/" ];
 +      neededForBoot = true;
 +    };
  
 +  boot.initrd.luks.devices."luks-btrfs".device = "/dev/disk/by-uuid/085ffcdf-5a5c-43fc-9231-eed8b5d0bbd4";
 +</code>
 +changed also 
 +==== configuration.nix ====
 +added here also (maybe not needed?)
 +<code /bash>
 +  boot.initrd.supportedFilesystems = ["btrfs"];
 +</code>
 +After changing the config, you have to run **nixos-rebuild boot** and **nixos-rebuild switch**
pi-homeserver.txt · Last modified: 2022/11/23 20:42 by 10.100.0.1