Skip to content

Commit 49f8aa7

Browse files
authored
Merge pull request #930 from provokateurin/fix/examples-boot-partition-umask
fix: Apply umask=0077 to /boot partition in all examples
2 parents 76816af + 5be012e commit 49f8aa7

9 files changed

+9
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ A simple disko configuration may look like this:
7676
type = "filesystem";
7777
format = "vfat";
7878
mountpoint = "/boot";
79+
mountOptions = [ "umask=0077" ];
7980
};
8081
};
8182
root = {

docs/table-to-gpt.md

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ for example like this:
4242
type = "filesystem";
4343
format = "vfat";
4444
mountpoint = "/boot";
45+
mountOptions = [ "umask=0077" ];
4546
};
4647
}
4748
{

example/boot-raid1.nix

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
type = "filesystem";
6868
format = "vfat";
6969
mountpoint = "/boot";
70+
mountOptions = [ "umask=0077" ];
7071
};
7172
};
7273
raid1 = {

example/gpt-name-with-whitespace.nix

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
type = "filesystem";
1515
format = "vfat";
1616
mountpoint = "/boot";
17+
mountOptions = [ "umask=0077" ];
1718
};
1819
};
1920
"name with spaces" = {

example/gpt-unformatted.nix

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
type = "filesystem";
1616
format = "vfat";
1717
mountpoint = "/boot";
18+
mountOptions = [ "umask=0077" ];
1819
};
1920
};
2021
empty = {

example/legacy-table-with-whitespace.nix

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
type = "filesystem";
1818
format = "vfat";
1919
mountpoint = "/boot";
20+
mountOptions = [ "umask=0077" ];
2021
};
2122
}
2223
{

example/legacy-table.nix

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
type = "filesystem";
1818
format = "vfat";
1919
mountpoint = "/boot";
20+
mountOptions = [ "umask=0077" ];
2021
};
2122
}
2223
{

example/luks-on-mdadm.nix

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
type = "filesystem";
3838
format = "vfat";
3939
mountpoint = "/boot";
40+
mountOptions = [ "umask=0077" ];
4041
};
4142
};
4243
raid1 = {

example/lvm-raid.nix

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
type = "filesystem";
6060
format = "vfat";
6161
mountpoint = "/boot";
62+
mountOptions = [ "umask=0077" ];
6263
};
6364
};
6465
};

0 commit comments

Comments
 (0)