This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
pi-homeserver [2022/11/18 00:47] – [Hardware] 10.100.0.1 | pi-homeserver [2022/11/20 20:18] – 10.100.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Hardware ====== | ====== Hardware ====== | ||
- | * Mainboard: Odroid-H2 [[https:// | + | * Mainboard: Odroid-H2 |
* CPU compare with Odroid-M1 [[https:// | * CPU compare with Odroid-M1 [[https:// | ||
- | * Memory: 1×260Pin SO-DIMM 8GB DDR4 2400 CL14 1,2V: [[https:// | + | * Memory: 1×260Pin SO-DIMM 8GB DDR4 2400 CL14 1,2V: [[https:// |
* 8GB eMMC 5.0 (read rate ~130MB/s)\\ | * 8GB eMMC 5.0 (read rate ~130MB/s)\\ | ||
Line 18: | Line 18: | ||
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 / | ||
+ | </ | ||
+ | With **blkid** you can get the new UUID for the logical-volume which you can copy in hardware-configuration.nix file: | ||
+ | ==== hardware-configuration.nix ==== | ||
+ | <code bash> | ||
+ | fileSystems."/" | ||
+ | { device = "/ | ||
+ | fsType = " | ||
+ | options = [ " | ||
+ | neededForBoot = true; | ||
+ | }; | ||
+ | boot.initrd.luks.devices." | ||
+ | </ | ||
+ | changed also | ||
+ | ==== configuration.nix ==== | ||
+ | added here also (maybe not needed?) | ||
+ | <code /bash> | ||
+ | boot.initrd.supportedFilesystems = [" | ||
+ | </ | ||
+ | After changing the config, you have to run **nixos-rebuild boot** and **nixos-rebuild switch** |