diff --git a/README.md b/README.md index 88a4f66d..6b8e6f50 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,7 @@ A simple disko configuration may look like this: type = "filesystem"; format = "vfat"; mountpoint = "/boot"; + mountOptions = [ "umask=0077" ]; }; }; root = { diff --git a/docs/table-to-gpt.md b/docs/table-to-gpt.md index 7ca5d805..35af3770 100644 --- a/docs/table-to-gpt.md +++ b/docs/table-to-gpt.md @@ -42,6 +42,7 @@ for example like this: type = "filesystem"; format = "vfat"; mountpoint = "/boot"; + mountOptions = [ "umask=0077" ]; }; } { diff --git a/example/boot-raid1.nix b/example/boot-raid1.nix index 39569c14..efab79ee 100644 --- a/example/boot-raid1.nix +++ b/example/boot-raid1.nix @@ -67,6 +67,7 @@ type = "filesystem"; format = "vfat"; mountpoint = "/boot"; + mountOptions = [ "umask=0077" ]; }; }; raid1 = { diff --git a/example/gpt-name-with-whitespace.nix b/example/gpt-name-with-whitespace.nix index 22a74b57..da2e9346 100644 --- a/example/gpt-name-with-whitespace.nix +++ b/example/gpt-name-with-whitespace.nix @@ -14,6 +14,7 @@ type = "filesystem"; format = "vfat"; mountpoint = "/boot"; + mountOptions = [ "umask=0077" ]; }; }; "name with spaces" = { diff --git a/example/gpt-unformatted.nix b/example/gpt-unformatted.nix index 871e9723..8d1629cd 100644 --- a/example/gpt-unformatted.nix +++ b/example/gpt-unformatted.nix @@ -15,6 +15,7 @@ type = "filesystem"; format = "vfat"; mountpoint = "/boot"; + mountOptions = [ "umask=0077" ]; }; }; empty = { diff --git a/example/legacy-table-with-whitespace.nix b/example/legacy-table-with-whitespace.nix index 5eb28ab1..06219577 100644 --- a/example/legacy-table-with-whitespace.nix +++ b/example/legacy-table-with-whitespace.nix @@ -17,6 +17,7 @@ type = "filesystem"; format = "vfat"; mountpoint = "/boot"; + mountOptions = [ "umask=0077" ]; }; } { diff --git a/example/legacy-table.nix b/example/legacy-table.nix index b022e8ff..7eccfdd6 100644 --- a/example/legacy-table.nix +++ b/example/legacy-table.nix @@ -17,6 +17,7 @@ type = "filesystem"; format = "vfat"; mountpoint = "/boot"; + mountOptions = [ "umask=0077" ]; }; } { diff --git a/example/luks-on-mdadm.nix b/example/luks-on-mdadm.nix index 6a33208c..c8cc6911 100644 --- a/example/luks-on-mdadm.nix +++ b/example/luks-on-mdadm.nix @@ -37,6 +37,7 @@ type = "filesystem"; format = "vfat"; mountpoint = "/boot"; + mountOptions = [ "umask=0077" ]; }; }; raid1 = { diff --git a/example/lvm-raid.nix b/example/lvm-raid.nix index 2e36fff4..7b452fc8 100644 --- a/example/lvm-raid.nix +++ b/example/lvm-raid.nix @@ -59,6 +59,7 @@ type = "filesystem"; format = "vfat"; mountpoint = "/boot"; + mountOptions = [ "umask=0077" ]; }; }; };