main
1{ config, ... }:
2{
3 fileSystems."/" = {
4 device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
5 fsType = "ext4";
6 };
7 fileSystems."/neo" = {
8 device = "/dev/disk/by-uuid/7ff6e217-ec49-40af-96a1-ad28a24bb687";
9 fsType = "ext4";
10 };
11 fileSystems."/zion" = {
12 device = "/dev/disk/by-uuid/f5076355-3c58-4fad-9da9-aea51e8bff23";
13 fsType = "ext4";
14 };
15
16 networking.hostId = builtins.substring 0 8 (builtins.hashString "md5" config.networking.hostName);
17
18 swapDevices = [
19 {
20 device = "/swapfile";
21 size = 8 * 1024; # 8GB
22 }
23 ];
24
25 hardware = {
26 deviceTree = {
27 enable = true;
28 name = "rockchip/rk3588-friendlyelec-cm3588-nas.dtb";
29 };
30 };
31}