Skip to content

Commit

Permalink
Merge pull request #930 from provokateurin/fix/examples-boot-partitio…
Browse files Browse the repository at this point in the history
…n-umask

fix: Apply umask=0077 to /boot partition in all examples
  • Loading branch information
phaer authored Jan 6, 2025
2 parents 76816af + 5be012e commit 49f8aa7
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ A simple disko configuration may look like this:
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
};
root = {
Expand Down
1 change: 1 addition & 0 deletions docs/table-to-gpt.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ for example like this:
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
}
{
Expand Down
1 change: 1 addition & 0 deletions example/boot-raid1.nix
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
};
raid1 = {
Expand Down
1 change: 1 addition & 0 deletions example/gpt-name-with-whitespace.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
};
"name with spaces" = {
Expand Down
1 change: 1 addition & 0 deletions example/gpt-unformatted.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
};
empty = {
Expand Down
1 change: 1 addition & 0 deletions example/legacy-table-with-whitespace.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
}
{
Expand Down
1 change: 1 addition & 0 deletions example/legacy-table.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
}
{
Expand Down
1 change: 1 addition & 0 deletions example/luks-on-mdadm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
};
raid1 = {
Expand Down
1 change: 1 addition & 0 deletions example/lvm-raid.nix
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
};
};
Expand Down

0 comments on commit 49f8aa7

Please sign in to comment.