49 lines
1.1 KiB
Nix
49 lines
1.1 KiB
Nix
|
|
{ lib, ... }:
|
||
|
|
{
|
||
|
|
disk = {
|
||
|
|
main = {
|
||
|
|
type = "disk";
|
||
|
|
device = "/dev/disk/by-path/platform-fe340000.mmc";
|
||
|
|
content = {
|
||
|
|
type = "gpt";
|
||
|
|
partitions = {
|
||
|
|
boot = {
|
||
|
|
name = "FIRMWARE";
|
||
|
|
size = "1G";
|
||
|
|
type = "EF00";
|
||
|
|
content = {
|
||
|
|
type = "filesystem";
|
||
|
|
format = "vfat";
|
||
|
|
mountpoint = "/boot/firmware";
|
||
|
|
mountOptions = [
|
||
|
|
"fmask=0022"
|
||
|
|
"dmask=0022"
|
||
|
|
];
|
||
|
|
};
|
||
|
|
};
|
||
|
|
root = {
|
||
|
|
name = "NIXOS_UCM5";
|
||
|
|
size = "30G";
|
||
|
|
content = {
|
||
|
|
type = "filesystem";
|
||
|
|
format = "ext4";
|
||
|
|
mountpoint = "/";
|
||
|
|
mountOptions = [ "noatime" ];
|
||
|
|
};
|
||
|
|
};
|
||
|
|
home = {
|
||
|
|
name = "NIXOS_HOME";
|
||
|
|
size = "100%";
|
||
|
|
content = {
|
||
|
|
type = "filesystem";
|
||
|
|
format = "ext4";
|
||
|
|
mountpoint = "/home";
|
||
|
|
mountOptions = [ "noatime" ];
|
||
|
|
};
|
||
|
|
};
|
||
|
|
};
|
||
|
|
};
|
||
|
|
};
|
||
|
|
};
|
||
|
|
}
|