add minegrub theme
This commit is contained in:
parent
4fd01b1d27
commit
9d3c03f849
5 changed files with 53 additions and 0 deletions
21
flake.lock
generated
21
flake.lock
generated
|
|
@ -245,6 +245,26 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"minegrub-theme": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1742563259,
|
||||
"narHash": "sha256-OLFbGacrRFqSoqUc+pf66eb1xd0aU/crKfpiWSpJ0fw=",
|
||||
"owner": "Lxtharia",
|
||||
"repo": "minegrub-theme",
|
||||
"rev": "b1caebbd5ab96f6afbfcd735b58fab9b9d8cf54b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "Lxtharia",
|
||||
"repo": "minegrub-theme",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nix-formatter-pack": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
|
|
@ -571,6 +591,7 @@
|
|||
"agenix": "agenix",
|
||||
"deploy-rs": "deploy-rs",
|
||||
"home-manager": "home-manager",
|
||||
"minegrub-theme": "minegrub-theme",
|
||||
"nix-on-droid": "nix-on-droid",
|
||||
"nixos-hardware": "nixos-hardware",
|
||||
"nixpkgs": "nixpkgs",
|
||||
|
|
|
|||
|
|
@ -19,6 +19,10 @@
|
|||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
minegrub-theme = {
|
||||
url = "github:Lxtharia/minegrub-theme";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
nixvim = {
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
dart.disabled = true;
|
||||
python.disabled = true;
|
||||
nodejs.disabled = true;
|
||||
c.disabled = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@
|
|||
./graphical-interface.nix
|
||||
./i18n.nix
|
||||
./jellyfin.nix
|
||||
./minegrub.nix
|
||||
./nix-settings.nix
|
||||
./ollama.nix
|
||||
./remote-builds.nix
|
||||
|
|
|
|||
26
modules/minegrub.nix
Normal file
26
modules/minegrub.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{config, inputs, lib, ...}: {
|
||||
imports = [
|
||||
inputs.minegrub-theme.nixosModules.default
|
||||
];
|
||||
options = {
|
||||
myModules.enableMinegrubTheme = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Enable Minecraft theme for grub.";
|
||||
};
|
||||
};
|
||||
config = lib.mkMerge [
|
||||
(lib.mkIf config.myModules.enableMinegrubTheme {
|
||||
|
||||
|
||||
boot.loader.grub = {
|
||||
minegrub-theme = {
|
||||
enable = true;
|
||||
splash = "100% Flakes!";
|
||||
background = "background_options/1.8 - [Classic Minecraft].png";
|
||||
boot-options-count = 4;
|
||||
};
|
||||
};
|
||||
})
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue