mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-01-19 02:13:06 +01:00
Jo
e1bbf4856e
refactor: remove some comments feat: set VSCodium color scheme to Catppuccin Macchiato
31 lines
571 B
Nix
31 lines
571 B
Nix
{
|
|
lib,
|
|
namespace,
|
|
config,
|
|
...
|
|
}: with lib; with lib.${namespace};
|
|
let
|
|
cfg = config.${namespace}.common.grub;
|
|
in {
|
|
options.${namespace}.common.grub = { enable = mkEnableOption "grub"; };
|
|
|
|
config = mkIf cfg.enable {
|
|
boot.loader.systemd-boot.enable = false;
|
|
|
|
boot.loader.grub = {
|
|
enable = true;
|
|
devices = [ "nodev" ];
|
|
efiInstallAsRemovable = true;
|
|
efiSupport = true;
|
|
|
|
extraEntries = ''
|
|
menuentry "Reboot" {
|
|
reboot
|
|
}
|
|
menuentry "Poweroff" {
|
|
halt
|
|
}
|
|
'';
|
|
};
|
|
};
|
|
}
|