forked from fediversity/fediversity
24 lines
364 B
Nix
24 lines
364 B
Nix
{
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
_class = "nixos";
|
|
|
|
boot.loader = {
|
|
systemd-boot.enable = true;
|
|
efi = {
|
|
canTouchEfiVariables = true;
|
|
efiSysMountPoint = "/boot";
|
|
};
|
|
grub.enable = false;
|
|
};
|
|
fileSystems."/boot" = {
|
|
fsType = "vfat";
|
|
device = lib.mkDefault "/dev/sda1";
|
|
options = [
|
|
"fmask=0022"
|
|
"dmask=0022"
|
|
];
|
|
};
|
|
}
|