nix-conf/modules/boot/systemd/default.nix

25 lines
477 B
Nix
Raw Normal View History

2024-01-02 20:58:18 +01:00
{ config, lib, ... }:
let cfg = config.jopejoe1.boot.systemd;
in {
options.jopejoe1.boot.systemd = {
enable = lib.mkEnableOption "Enable Systemd boot";
};
config = lib.mkIf cfg.enable {
boot = {
loader = {
systemd-boot = {
enable = true;
configurationLimit = 10;
editor = false;
};
efi = {
canTouchEfiVariables = true;
2024-02-06 19:40:33 +01:00
efiSysMountPoint = "/boot";
2024-01-02 20:58:18 +01:00
};
};
};
};
}