nix/nixos/common/modules/boot.nix
2023-11-25 21:23:48 +09:00

11 lines
No EOL
365 B
Nix

{ lib, config, pkgs, desktop, ... }: {
# IF we're booting into a GUI, load in pretty things
imports = [ ] ++ lib.optional (builtins.isString desktop) ./plymouth.nix;
# Bootloader
boot.loader.systemd-boot.enable = lib.mkForce false;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.systemd-boot.enable = true;
boot.tmp.cleanOnBoot = true;
}