doc: added instruction to install without nixos module

This commit is contained in:
Wittano Bonarotti 2024-04-14 13:24:28 +02:00
parent 3bc4f2d75a
commit 486569dbac
No known key found for this signature in database
GPG Key ID: 81EC1690D9E354CF

View File

@ -40,6 +40,8 @@ sudo grub-mkconfig -o /boot/grub/grub.cfg
6. Reboot the computer
### 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
```nix
inputs.honkai-railway-grub-theme.url = "github:voidlhf/StarRailGrubThemes";
@ -62,6 +64,23 @@ honkai-railway-grub-theme = {
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
5. Reboot computer to see your theme :)