mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +01:00
NixOS 24.05: umask boot partition
This commit is contained in:
parent
849985d849
commit
65a0f7bf2f
@ -30,6 +30,7 @@
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/81A5-B98A";
|
||||
fsType = "vfat";
|
||||
options = [ "umask=0077" ];
|
||||
};
|
||||
|
||||
fileSystems."/mnt/backup" =
|
||||
|
@ -30,6 +30,11 @@
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/072E-897D";
|
||||
fsType = "vfat";
|
||||
# Fixes the error
|
||||
# systemd-boot-random-seed.service: Mount point '/boot' which backs the random seed file is world accessible, which is a security hole!
|
||||
# TODO: Do this with disko. Example: https://github.com/wimpysworld/nix-config/blob/0cc52f746d5c5fec9d8edea5391661da811eb08f/nixos/tanis/disks.nix#L17
|
||||
# TODO: Add this to other NixOS hosts.
|
||||
options = [ "umask=0077" ];
|
||||
};
|
||||
|
||||
fileSystems."/mnt/data" =
|
||||
|
Loading…
Reference in New Issue
Block a user