mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00:00
fix examples...
...why did those tests pass before? config didn't match options schema
This commit is contained in:
parent
94d1319001
commit
f8050d6f84
2 changed files with 4 additions and 5 deletions
|
@ -5,7 +5,7 @@
|
||||||
type = "lvm_vg";
|
type = "lvm_vg";
|
||||||
lvs = {
|
lvs = {
|
||||||
root = {
|
root = {
|
||||||
type = "lv";
|
type = "lvm_lv";
|
||||||
size = "10G";
|
size = "10G";
|
||||||
content = {
|
content = {
|
||||||
type = "filesystem";
|
type = "filesystem";
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
home = {
|
home = {
|
||||||
type = "lv";
|
type = "lvm_lv";
|
||||||
size = "10G";
|
size = "10G";
|
||||||
content = {
|
content = {
|
||||||
type = "filesystem";
|
type = "filesystem";
|
||||||
|
@ -33,9 +33,8 @@
|
||||||
format = "gpt";
|
format = "gpt";
|
||||||
partitions = [
|
partitions = [
|
||||||
{
|
{
|
||||||
name = "boot";
|
name = "ESP";
|
||||||
type = "partition";
|
type = "partition";
|
||||||
part-type = "ESP";
|
|
||||||
start = "1MiB";
|
start = "1MiB";
|
||||||
end = "1024MiB";
|
end = "1024MiB";
|
||||||
fs-type = "fat32";
|
fs-type = "fat32";
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
disk = {
|
disk = {
|
||||||
sda = {
|
sda = {
|
||||||
device = "/dev/sda";
|
device = "/dev/sda";
|
||||||
type = "device";
|
type = "disk";
|
||||||
content = {
|
content = {
|
||||||
type = "table";
|
type = "table";
|
||||||
format = "msdos";
|
format = "msdos";
|
||||||
|
|
Loading…
Reference in a new issue