Add Minegrub theme

This commit is contained in:
Jo 2025-07-28 21:27:23 +02:00
parent 7d17d31ed8
commit 1a09cad656
4 changed files with 13 additions and 3 deletions

View file

@ -22,6 +22,7 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
easy-hosts.url = "github:tgirlcloud/easy-hosts"; easy-hosts.url = "github:tgirlcloud/easy-hosts";
sops-nix.url = "github:Mic92/sops-nix"; sops-nix.url = "github:Mic92/sops-nix";
minegrub-theme.url = "github:Lxtharia/minegrub-theme";
flake-parts = { flake-parts = {
url = "github:hercules-ci/flake-parts"; url = "github:hercules-ci/flake-parts";

View file

@ -3,9 +3,6 @@
# Automagically imports libs from "/lib/lib-name" and exposes them to the `flake.lib` output. # Automagically imports libs from "/lib/lib-name" and exposes them to the `flake.lib` output.
./lib.nix ./lib.nix
# Exposes nixosModules and homeModules on flake outputs.
./modules.nix
# Automagically imports systems from "/systems/arch-classname/system-name". # Automagically imports systems from "/systems/arch-classname/system-name".
./systems.nix ./systems.nix
]; ];

View file

@ -18,6 +18,7 @@
(lib.optionals (class == "nixos") [ (lib.optionals (class == "nixos") [
inputs.home-manager.nixosModules.default inputs.home-manager.nixosModules.default
inputs.sops-nix.nixosModules.sops inputs.sops-nix.nixosModules.sops
inputs.minegrub-theme.nixosModules.default
]) ])
++ (self.lib.dirToModuleList ../${class}); # Import modules based on current classname. ++ (self.lib.dirToModuleList ../${class}); # Import modules based on current classname.
}; };

View file

@ -51,6 +51,17 @@
blacklistedKernelModules = [ blacklistedKernelModules = [
"rtw88_8821ce" # Block the default network-card driver. "rtw88_8821ce" # Block the default network-card driver.
]; ];
# Grub configuration
loader.grub = {
# Minecraft bootloader theme
minegrub-theme = {
enable = true;
splash = "100% Flakes!";
background = "background_options/1.18 - [Caves And Cliffs 2].png";
boot-options-count = 4;
};
};
}; };
networking.hostName = "puzzlevision"; networking.hostName = "puzzlevision";