diff --git a/README.md b/README.md index 88a4f66..6b8e6f5 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 7ca5d80..35af377 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 39569c1..efab79e 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 22a74b5..da2e934 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 871e972..8d1629c 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 5eb28ab..0621957 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 b022e8f..7eccfdd 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 6a33208..c8cc691 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 2e36fff..7b452fc 100644 --- a/example/lvm-raid.nix +++ b/example/lvm-raid.nix @@ -59,6 +59,7 @@ type = "filesystem"; format = "vfat"; mountpoint = "/boot"; + mountOptions = [ "umask=0077" ]; }; }; };