{ 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.efi.canTouchEfiVariables = true; boot.loader.systemd-boot.enable = true; boot.tmp.cleanOnBoot = true; boot.initrd.systemd.enable = true; }