test
This commit is contained in:
parent
904f11a4bb
commit
e8a0a59457
1 changed files with 29 additions and 5 deletions
|
@ -2,7 +2,7 @@
|
|||
services.btrfs.autoScrub.enable = true;
|
||||
services.btrfs.autoScrub.interval = "weekly";
|
||||
|
||||
disko.devices.disk = {
|
||||
disko.devices = {
|
||||
nvme0 = {
|
||||
type = "disk";
|
||||
device = "/dev/nvme0n1";
|
||||
|
@ -12,8 +12,8 @@
|
|||
BOOT = {
|
||||
priority = 1;
|
||||
name = "BOOT";
|
||||
start = "0";
|
||||
end = "550MB";
|
||||
start = "0%";
|
||||
end = "550MiB";
|
||||
type = "EF00";
|
||||
content = {
|
||||
type = "filesystem";
|
||||
|
@ -24,8 +24,8 @@
|
|||
};
|
||||
}; # partition 1 (ESP)
|
||||
ROOT = {
|
||||
start = "550MB";
|
||||
end = "0";
|
||||
start = "550MiB";
|
||||
end = "100%";
|
||||
content = {
|
||||
type = "btrfs";
|
||||
extraArgs = [ "-f" ];
|
||||
|
@ -48,5 +48,29 @@
|
|||
}; # partitions
|
||||
}; # content
|
||||
}; # disko.devices.disk.nvme0
|
||||
|
||||
mmcblk0 = {
|
||||
type = "disk";
|
||||
device = "/dev/mmcblk0";
|
||||
content = {
|
||||
type = "gpt";
|
||||
partitions = {
|
||||
SD_CARD = {
|
||||
start = "0%";
|
||||
end = "100%";
|
||||
content = {
|
||||
type = "btrfs";
|
||||
extraArgs = [ "-f" ];
|
||||
subvolumes = {
|
||||
"/sd_card" = {
|
||||
mountpoint = "/sd_card";
|
||||
mountOptions = [ "compress=none" "noatime" ];
|
||||
}; # sd_card
|
||||
}; # subvolumes
|
||||
}; # content
|
||||
}; # partition 2 (SD_CARD BTRFS)
|
||||
}; # partitions
|
||||
}; # content
|
||||
}; # disko.devices.disk.mmcblk0
|
||||
}; # disko.devices
|
||||
} # root
|
||||
|
|
Loading…
Reference in a new issue