Files
garandos/modules/core/boot.nix
T
GarandPLG b6915ab988 Set default wallpaper to Attack-on-Titan-2
- Updated host variables files to select Attack-on-Titan-2.jpg and added
  rating comments.
- Simplified boot.nix by removing host‑specific imports and configuring
  limine via package, resolution, and branding color.
- Added limine target support in stylix with color, image, and tile
  scaling options.
- Removed the unused noctalia colors module and its import.
- Adjusted noctalia wallpaper settings to use config.stylix.image
  instead of a host import.
2026-05-14 19:15:41 +02:00

37 lines
950 B
Nix

{
pkgs,
config,
...
}: {
boot = {
kernelPackages = pkgs.linuxPackages_zen;
kernelModules = ["v4l2loopback"];
extraModulePackages = [config.boot.kernelPackages.v4l2loopback];
kernel.sysctl = {
"vm.max_map_count" = 2147483642;
};
loader = {
efi.canTouchEfiVariables = true;
limine = {
enable = true;
package = pkgs.limine;
resolution = "1920x1080";
style.interface = {
branding = "GarandOS Bootloader";
brandingColor = "${config.stylix.base16Scheme.base01}";
};
};
};
# Appimage Support
binfmt.registrations.appimage = {
wrapInterpreterInShell = false;
interpreter = "${pkgs.appimage-run}/bin/appimage-run";
recognitionType = "magic";
offset = 0;
mask = ''\xff\xff\xff\xff\x00\x00\x00\x00\xff\xff\xff'';
magicOrExtension = ''\x7fELF....AI\x02'';
};
plymouth.enable = true;
};
}