mirror of
https://github.com/voidlhf/StarRailGrubThemes.git
synced 2025-01-09 03:57:32 +08:00
doc: added instruction to install without nixos module
This commit is contained in:
parent
3bc4f2d75a
commit
486569dbac
19
README.md
19
README.md
@ -40,6 +40,8 @@ sudo grub-mkconfig -o /boot/grub/grub.cfg
|
|||||||
6. Reboot the computer
|
6. Reboot the computer
|
||||||
|
|
||||||
### For NixOS users
|
### For NixOS users
|
||||||
|
For NixOS users, it was prepered packages and NixOS module to install theme
|
||||||
|
#### With NixOS Module
|
||||||
1. Added flake into your configuration
|
1. Added flake into your configuration
|
||||||
```nix
|
```nix
|
||||||
inputs.honkai-railway-grub-theme.url = "github:voidlhf/StarRailGrubThemes";
|
inputs.honkai-railway-grub-theme.url = "github:voidlhf/StarRailGrubThemes";
|
||||||
@ -62,6 +64,23 @@ honkai-railway-grub-theme = {
|
|||||||
theme = "RuanMei";
|
theme = "RuanMei";
|
||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
#### Without NixOS module
|
||||||
|
1. Added flake into your configuration
|
||||||
|
```nix
|
||||||
|
inputs.honkai-railway-grub-theme.url = "github:voidlhf/StarRailGrubThemes";
|
||||||
|
```
|
||||||
|
|
||||||
|
3. Added GRUB theme
|
||||||
|
```nix
|
||||||
|
boot.loader.grub = rec {
|
||||||
|
# Remember. Each nix package from this repo have another name.
|
||||||
|
# Packages name have 2 rules:
|
||||||
|
# - lower case names e.g. RuaMei -> ruamei
|
||||||
|
# - each '.' must be replaced by "_" e.g Dr.Ratio -> dr_ratio
|
||||||
|
theme = inputs.inputs.honkai-railway-grub-theme.packages.${system}.<your_theme_name>-grub-theme;
|
||||||
|
splashImage = "${theme}/background.png";
|
||||||
|
};
|
||||||
|
```
|
||||||
|
|
||||||
4. Rebuild your system
|
4. Rebuild your system
|
||||||
5. Reboot computer to see your theme :)
|
5. Reboot computer to see your theme :)
|
||||||
|
Loading…
Reference in New Issue
Block a user