docs: Fix /boot security hole warning in examples

The alternative would be to do this automatically if format=="vfat" and
mountpoint=="/boot", but it's better to be upfront about this.

Fixes #527
This commit is contained in:
Felix Uhl
2024-10-01 19:31:29 +02:00
committed by mergify[bot]
parent 6c5ba9ec9d
commit da8f49246c
24 changed files with 29 additions and 20 deletions

View File

@@ -150,6 +150,7 @@ or with pinning:
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
};
root = {

View File

@@ -65,6 +65,7 @@ example we assume a system that has been booted with EFI:
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
};
root = {
@@ -168,6 +169,7 @@ Add this to your flake.nix output:
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
};
root = {

View File

@@ -122,6 +122,7 @@ The fixed disko configuration would look like this:
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
};
root = {