boot: fix systemd-boot security warnings

See:
https://github.com/NixOS/nixpkgs/issues/279362
https://github.com/NixOS/nixpkgs/pull/300673
This commit is contained in:
Casper V. Kristensen 2024-12-11 14:54:48 +01:00
parent 0ddf91ae2a
commit 29f63ae6aa
7 changed files with 7 additions and 11 deletions

View file

@ -1,7 +1,5 @@
{
config,
lib,
pkgs,
modulesPath,
...
}: {
@ -25,6 +23,7 @@
fileSystems."/boot" = {
device = "/dev/disk/by-label/BOOT";
fsType = "vfat";
options = ["umask=077"];
};
fileSystems."/nix" = {
device = "/dev/disk/by-label/nix";

View file

@ -1,7 +1,5 @@
{
config,
lib,
pkgs,
modulesPath,
...
}: {
@ -25,6 +23,7 @@
fileSystems."/boot" = {
device = "/dev/disk/by-label/BOOT";
fsType = "vfat";
options = ["umask=077"];
};
fileSystems."/nix" = {
device = "/dev/disk/by-label/nix";

View file

@ -1,7 +1,5 @@
{
config,
lib,
pkgs,
modulesPath,
nixos-hardware,
...
@ -29,6 +27,7 @@
fileSystems."/boot" = {
device = "/dev/disk/by-label/BOOT";
fsType = "vfat";
options = ["umask=077"];
};
fileSystems."/nix" = {
device = "/dev/disk/by-label/nix";

View file

@ -28,6 +28,7 @@
fileSystems."/boot" = {
device = "/dev/disk/by-label/BOOT";
fsType = "vfat";
options = ["umask=077"];
};
fileSystems."/nix" = {
device = "/dev/disk/by-label/nix";

View file

@ -1,7 +1,5 @@
{
config,
lib,
pkgs,
modulesPath,
nixos-hardware,
...
@ -29,6 +27,7 @@
fileSystems."/boot" = {
device = "/dev/disk/by-label/BOOT";
fsType = "vfat";
options = ["umask=077"];
};
fileSystems."/nix" = {
device = "/dev/disk/by-label/nix";

View file

@ -1,5 +1,4 @@
{
config,
lib,
pkgs,
modulesPath,
@ -23,6 +22,7 @@
fileSystems."/boot" = {
device = "/dev/disk/by-label/BOOT";
fsType = "vfat";
options = ["umask=077"];
};
fileSystems."/nix" = {
device = "/dev/disk/by-label/nix";

View file

@ -1,7 +1,5 @@
{
config,
lib,
pkgs,
modulesPath,
nixos-hardware,
...
@ -29,6 +27,7 @@
fileSystems."/boot" = {
device = "/dev/disk/by-label/BOOT";
fsType = "vfat";
options = ["umask=077"];
};
fileSystems."/nix" = {
device = "/dev/disk/by-label/nix";