b9b932e990
Introduce a `ventoy.enable` option (default false) and import the new `modules/core/ventoy.nix` in the core module list. All host `system-modules.nix` files now disable Ventoy explicitly. Make the boot wallpaper configurable by importing `stylixImage` from the host’s `variables.nix` and using it in `modules/core/boot.nix`. Update each host’s `variables.nix` to set a default wallpaper and keep many alternatives commented out. Remove the obsolete `restart.noctalia` and `screenshootin` scripts, their Nix wrappers, and the related Hyprland keybinding. Add a collection of new wallpaper files and delete the old, unused images.
46 lines
1.1 KiB
Nix
46 lines
1.1 KiB
Nix
{
|
|
pkgs,
|
|
host,
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (import ../../hosts/${host}/variables.nix) stylixImage;
|
|
in {
|
|
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;
|
|
style = {
|
|
wallpapers = [
|
|
./../../wallpapers/${stylixImage}
|
|
];
|
|
wallpaperStyle = lib.mkForce "centered";
|
|
backdrop = "${config.stylix.base16Scheme.base00}";
|
|
interface = {
|
|
branding = "GarandOS Bootloader";
|
|
resolution = "1920x1080";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
# 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;
|
|
};
|
|
}
|