mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-09-09 04:10:05 +00:00
✨ Add Minegrub theme
This commit is contained in:
parent
7d17d31ed8
commit
1a09cad656
4 changed files with 13 additions and 3 deletions
|
@ -22,6 +22,7 @@
|
|||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
easy-hosts.url = "github:tgirlcloud/easy-hosts";
|
||||
sops-nix.url = "github:Mic92/sops-nix";
|
||||
minegrub-theme.url = "github:Lxtharia/minegrub-theme";
|
||||
|
||||
flake-parts = {
|
||||
url = "github:hercules-ci/flake-parts";
|
||||
|
|
|
@ -3,9 +3,6 @@
|
|||
# Automagically imports libs from "/lib/lib-name" and exposes them to the `flake.lib` output.
|
||||
./lib.nix
|
||||
|
||||
# Exposes nixosModules and homeModules on flake outputs.
|
||||
./modules.nix
|
||||
|
||||
# Automagically imports systems from "/systems/arch-classname/system-name".
|
||||
./systems.nix
|
||||
];
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
(lib.optionals (class == "nixos") [
|
||||
inputs.home-manager.nixosModules.default
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
inputs.minegrub-theme.nixosModules.default
|
||||
])
|
||||
++ (self.lib.dirToModuleList ../${class}); # Import modules based on current classname.
|
||||
};
|
||||
|
|
|
@ -51,6 +51,17 @@
|
|||
blacklistedKernelModules = [
|
||||
"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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue